2014-10-03 14:33:41 +04:00
|
|
|
buildscript {
|
2022-03-11 13:10:51 +03:00
|
|
|
ext {
|
2024-01-28 23:46:19 +03:00
|
|
|
androidPluginVersion = '8.2.2'
|
2023-02-20 15:27:29 +03:00
|
|
|
appCompatVersion = '1.6.1'
|
2024-01-28 23:48:39 +03:00
|
|
|
jacoco_version = '0.8.11'
|
2023-06-08 10:27:58 +03:00
|
|
|
kotlin_version = '1.8.22'
|
2024-01-29 23:14:38 +03:00
|
|
|
androidxTestVersion = "1.5.0"
|
2024-01-29 21:37:45 +03:00
|
|
|
daggerVersion = "2.50"
|
2022-03-11 13:10:51 +03:00
|
|
|
markwonVersion = "4.6.2"
|
|
|
|
prismVersion = "2.0.0"
|
2024-02-02 11:28:22 +03:00
|
|
|
androidLibraryVersion = "008d82ae1c"
|
2023-01-09 19:02:35 +03:00
|
|
|
mockitoVersion = "4.11.0"
|
2022-11-28 05:02:33 +03:00
|
|
|
mockitoKotlinVersion = "4.1.0"
|
2024-01-29 12:51:05 +03:00
|
|
|
mockkVersion = "1.13.9"
|
2023-01-08 01:55:37 +03:00
|
|
|
espressoVersion = "3.5.1"
|
2023-03-28 04:57:23 +03:00
|
|
|
workRuntime = "2.8.1"
|
2023-12-11 12:19:31 +03:00
|
|
|
fidoVersion = "4.1.0-patch2"
|
2022-03-11 13:10:51 +03:00
|
|
|
checkerVersion = "3.21.2"
|
2023-08-17 05:07:07 +03:00
|
|
|
exoplayerVersion = "2.19.1"
|
2023-07-28 18:12:17 +03:00
|
|
|
documentScannerVersion = "1.1.1"
|
2023-06-22 04:57:25 +03:00
|
|
|
roomVersion = "2.5.2"
|
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
|
|
|
}
|
|
|
|
|
2023-08-29 10:08:39 +03:00
|
|
|
tasks.register('clean', Delete) {
|
2022-03-21 11:19:15 +03:00
|
|
|
delete rootProject.buildDir
|
2022-03-22 16:30:54 +03:00
|
|
|
}
|
2022-10-07 18:44:52 +03:00
|
|
|
|
2023-08-29 10:08:39 +03:00
|
|
|
tasks.register('installGitHooks', Copy) {
|
2022-10-07 18:44:52 +03:00
|
|
|
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}"
|
|
|
|
}
|
|
|
|
}
|