Some checks failed
Flutter Build - Sky Dev / Build Android for Sky (dev) (push) Failing after 6m16s
57 lines
1.8 KiB
Groovy
Executable File
57 lines
1.8 KiB
Groovy
Executable File
buildscript {
|
||
ext.kotlin_version = '1.8.20'
|
||
repositories {
|
||
maven { url 'https://maven.aliyun.com/repository/public'}
|
||
maven { url 'https://maven.aliyun.com/repository/gradle-plugin'}
|
||
google()
|
||
mavenCentral()
|
||
mavenLocal()
|
||
// hms, 若不集成华为厂商通道,可直接跳过
|
||
// maven { url 'https://maven.aliyun.com/repository/central'}
|
||
maven { url 'https://developer.huawei.com/repo/'}
|
||
// fcm, 若不集成 FCM 通道,可直接跳过
|
||
maven { url "https://maven.google.com" }
|
||
}
|
||
|
||
dependencies {
|
||
classpath 'com.android.tools.build:gradle:7.1.2'
|
||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||
// fcm,若不集成 FCM 通道,可直接跳过
|
||
classpath 'com.google.gms:google-services:4.3.8'
|
||
// hms,若不集成华为厂商通道,可直接跳过
|
||
classpath 'com.huawei.agconnect:agcp:1.6.0.300'
|
||
// 垃圾代码生成器
|
||
// classpath "com.github.qq549631030:android-junk-code:1.3.3"
|
||
classpath'com.tencent.mm:AndResGuard-gradle-plugin:1.2.21'
|
||
}
|
||
|
||
}
|
||
|
||
allprojects {
|
||
repositories {
|
||
maven { url 'https://maven.aliyun.com/repository/public'}
|
||
maven { url 'https://maven.aliyun.com/repository/gradle-plugin'}
|
||
google()
|
||
mavenCentral()
|
||
jcenter()
|
||
// 配置HMS Core SDK的Maven仓地址。
|
||
maven {url 'https://developer.huawei.com/repo/'}
|
||
|
||
flatDir {
|
||
dirs project(':aliyun_face_plugin').file('libs')
|
||
}
|
||
}
|
||
}
|
||
|
||
rootProject.buildDir = '../build'
|
||
subprojects {
|
||
project.buildDir = "${rootProject.buildDir}/${project.name}"
|
||
}
|
||
subprojects {
|
||
project.evaluationDependsOn(':app')
|
||
}
|
||
|
||
tasks.register("clean", Delete) {
|
||
delete rootProject.buildDir
|
||
}
|