forked from maju-blogs/AutoTask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
42 lines (40 loc) · 1.43 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
compile_sdk_version = 34
min_sdk_version = 24
target_sdk_version = 30
kotlin_version = "1.8.21"
refine_version = '4.4.0'
shizuku_version = '13.1.5'
ktor_version = '2.3.5'
appcompat_version = "1.6.1"
coroutine_version = '1.7.3'
serialization_version = '1.6.21'
ktx_version = '1.12.0'
}
def localProperties = new Properties()
localProperties.load(new FileInputStream(rootProject.file("local.properties")))
repositories {
google()
mavenCentral()
maven {
url = uri("https://maven.pkg.github.com/open-obfuscator/dProtect")
credentials {
username = localProperties.getProperty("gpr.user")
password = localProperties.getProperty("gpr.token")
}
}
}
dependencies {
classpath 'com.android.tools.build:gradle:8.1.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "dev.rikka.tools.refine:gradle-plugin:$refine_version"
// classpath 're.obfuscator:dprotect-gradle:1.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
tasks.register('clean', Delete) {
delete rootProject.buildDir
}