/
build.gradle
62 lines (47 loc) · 1.74 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply plugin: "com.github.ben-manes.versions"
apply from: 'https://raw.githubusercontent.com/dafi/gradle-scripts/main/dependencyUpdatesReplacer.gradle'
buildscript {
ext.kotlin_version = '1.7.10'
ext {
minSdkVersion = 26
targetSdkVersion = 33
compileSdkVersion = 33
androidXAppCompatLibVersion = '1.6.0-beta01'
androidXCoreKtx = '1.9.0-beta01'
kotlinxCoroutinesCore = '1.6.4'
okhttp3HttpLibVersion = '5.0.0-alpha.10'
moshiLibVersion = '1.13.0'
moshiKotlinCodegenLibVersion = '1.13.0'
retrofitLibVersion = '2.9.0'
retrofitConverterMoshiLibVersion = '2.9.0'
junitLibVersion = '4.13.2'
androidXEspressoCoreLibVersion = '3.5.0-alpha07'
androidXTestRunner = '1.5.0-alpha04'
}
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath "com.github.ben-manes:gradle-versions-plugin:0.42.0"
classpath 'com.android.tools.build:gradle:7.2.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.21.0"
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.21.0'
// latest dokka version throws NoSuchMethodError so we stay with an older version
// https://github.com/Kotlin/dokka/issues/2452
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:1.6.10'
}
}
allprojects {
apply plugin: "io.gitlab.arturbosch.detekt"
repositories {
google()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}