forked from lampa-app/LAMPA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
32 lines (30 loc) · 1.18 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
// https://developer.android.com/build/kotlin-support
// https://developer.android.com/build/releases/gradle-plugin
// https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-gradle-plugin
// https://mvnrepository.com/artifact/com.android.tools/r8?repo=google
ext.kp_version = '1.8.22'
ext.gp_version = '7.4.2'
ext.tools_version = '4.0.63'
repositories {
google()
mavenCentral()
maven {
url = uri("https://storage.googleapis.com/r8-releases/raw")
}
}
dependencies {
classpath "com.android.tools.build:gradle:$gp_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kp_version"
//noinspection GradleDependency downgrade to 4.x release - 8.x have verify release issues on api19
classpath("com.android.tools:r8:$tools_version")
}
}
plugins {
id 'com.google.devtools.ksp' version "${kp_version}-1.0.11" apply false
id 'org.jetbrains.kotlin.android' version "${kp_version}" apply false
}
tasks.register('clean', Delete) {
delete rootProject.buildDir
}