cocos_android/build.gradle
2023-02-06 19:20:47 +08:00

34 lines
934 B
Groovy

// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: "config.gradle"
buildscript {
repositories {
google()
jcenter()
maven { url "https://artifact.bytedance.com/repository/AwemeOpenSDK" }
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:4.1.1"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
maven { url "https://artifact.bytedance.com/repository/AwemeOpenSDK" }
flatDir {
dirs "${project(':unityLibrary').projectDir}/libs","libs"
}
}
// tasks.withType(JavaCompile) {
// options.compilerArgs << "-Xlint:unchecked"
// }
}
task clean(type: Delete) {
delete rootProject.buildDir
}