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-09-30 04:08:30 +03:00
|
|
|
kotlin_version = '1.7.20'
|
2022-03-11 13:10:51 +03:00
|
|
|
androidxTestVersion = "1.4.0"
|
2022-09-22 04:15:13 +03:00
|
|
|
daggerVersion = "2.44"
|
2022-03-11 13:10:51 +03:00
|
|
|
markwonVersion = "4.6.2"
|
|
|
|
prismVersion = "2.0.0"
|
2022-10-13 04:46:03 +03:00
|
|
|
androidLibraryVersion ="577887e4debc9402835a9a4aeb261bdea4bdc9b3"
|
2022-09-08 04:06:54 +03:00
|
|
|
mockitoVersion = "4.8.0"
|
2022-03-11 13:10:51 +03:00
|
|
|
mockitoKotlinVersion = "4.0.0"
|
2022-09-29 04:05:09 +03:00
|
|
|
mockkVersion = "1.13.2"
|
2022-03-11 13:10:51 +03:00
|
|
|
espressoVersion = "3.4.0"
|
|
|
|
workRuntime = "2.7.1"
|
|
|
|
fidoVersion = "4.1.0"
|
|
|
|
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-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}"
|
|
|
|
}
|
|
|
|
}
|