cocos_android/build.gradle
2023-11-09 16:33:34 +08:00

39 lines
1.2 KiB
Groovy

// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: "config.gradle"
buildscript {
ext.kotlin_version = '1.7.20'
repositories {
google()
jcenter()
maven { url "https://artifact.bytedance.com/repository/AwemeOpenSDK" }
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.google.gms:google-services:4.3.15'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.6'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
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
}