2014-10-03 14:33:41 +04:00
|
|
|
buildscript {
|
2022-03-11 13:10:51 +03:00
|
|
|
ext {
|
2022-04-06 04:06:17 +03:00
|
|
|
jacoco_version = '0.8.8'
|
2022-11-09 05:03:53 +03:00
|
|
|
kotlin_version = '1.7.21'
|
2022-03-11 13:10:51 +03:00
|
|
|
androidxTestVersion = "1.4.0"
|
2022-11-15 05:01:27 +03:00
|
|
|
daggerVersion = "2.44.2"
|
2022-03-11 13:10:51 +03:00
|
|
|
markwonVersion = "4.6.2"
|
|
|
|
prismVersion = "2.0.0"
|
2022-07-21 11:08:01 +03:00
|
|
|
androidLibraryVersion = "master-SNAPSHOT"
|
2022-11-15 05:01:51 +03:00
|
|
|
mockitoVersion = "4.9.0"
|
2022-11-28 05:02:33 +03:00
|
|
|
mockitoKotlinVersion = "4.1.0"
|
2022-09-29 04:05:09 +03:00
|
|
|
mockkVersion = "1.13.2"
|
2022-11-09 05:04:06 +03:00
|
|
|
espressoVersion = "3.5.0"
|
2022-03-11 13:10:51 +03:00
|
|
|
workRuntime = "2.7.1"
|
2022-11-02 19:53:25 +03:00
|
|
|
fidoVersion = "4.1.0-patch1"
|
2022-03-11 13:10:51 +03:00
|
|
|
checkerVersion = "3.21.2"
|
2022-07-25 04:32:37 +03:00
|
|
|
exoplayerVersion = "2.18.1"
|
2022-04-06 15:40:33 +03:00
|
|
|
documentScannerVersion = "1.0.1"
|
2022-11-03 00:32:38 +03:00
|
|
|
roomVersion = "2.4.3"
|
2022-03-11 13:10:51 +03:00
|
|
|
|
|
|
|
ciBuild = System.getenv("CI") == "true"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
subprojects {
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
2022-04-29 17:03:00 +03:00
|
|
|
gradlePluginPortal()
|
2022-03-11 13:10:51 +03:00
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
}
|
2014-10-03 14:33:41 +04:00
|
|
|
repositories {
|
2018-10-24 09:44:44 +03:00
|
|
|
google()
|
2018-08-22 18:42:15 +03:00
|
|
|
mavenCentral()
|
2022-04-29 17:03:00 +03:00
|
|
|
maven { url "https://jitpack.io" }
|
2014-10-03 14:33:41 +04:00
|
|
|
}
|
2022-03-21 11:19:15 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
2022-03-22 16:30:54 +03:00
|
|
|
}
|
2022-10-07 18:44:52 +03:00
|
|
|
|
|
|
|
task installGitHooks(type: Copy, group: "development") {
|
|
|
|
def sourceFolder = "${rootProject.projectDir}/scripts/hooks"
|
|
|
|
def destFolder = "${rootProject.projectDir}/.git/hooks"
|
|
|
|
|
|
|
|
description = "Install git hooks"
|
|
|
|
|
|
|
|
from(sourceFolder) {
|
|
|
|
include '*'
|
|
|
|
}
|
|
|
|
into destFolder
|
|
|
|
|
|
|
|
eachFile { file ->
|
|
|
|
println "${sourceFolder}/${file.relativeSourcePath} -> ${destFolder}/${file.path}"
|
|
|
|
}
|
|
|
|
}
|