50 lines
1.1 KiB
Groovy
50 lines
1.1 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
|
|
jcenter()
|
|
mavenCentral()
|
|
maven {
|
|
url 'https://maven.google.com/'
|
|
name 'Google'
|
|
|
|
}
|
|
|
|
}
|
|
dependencies {
|
|
//noinspection GradleDependency
|
|
classpath 'com.android.tools.build:gradle:8.2.2'
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
|
|
classpath 'com.github.megatronking.stringfog:gradle-plugin:5.1.0'
|
|
// 选用加解密算法库,默认实现了xor算法,也可以使用自己的加解密库。
|
|
classpath 'com.github.megatronking.stringfog:xor:5.0.0'
|
|
|
|
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
|
|
google()
|
|
//noinspection JcenterRepositoryObsolete
|
|
jcenter()
|
|
|
|
mavenCentral()
|
|
maven {
|
|
url 'https://maven.google.com/'
|
|
name 'Google'
|
|
}
|
|
maven { url 'https://jitpack.io' }
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|