代码拉取完成,页面将自动刷新
initVersions(file("project-versions.json"))
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
extra.apply {
set("kotlin_version", kotlin_version)
set("compose_version", compose_version)
}
repositories {
mavenLocal()
//首选国外镜像加快github CI
google()
mavenCentral()
maven("https://www.jitpack.io")
maven("https://120.25.164.233:8081/nexus/content/groups/public/")
maven("https://maven.aliyun.com/repository/central")
google { url = uri("https://maven.aliyun.com/repository/google") }
mavenCentral { url = uri("https://maven.aliyun.com/repository/public") }
}
dependencies {
classpath("com.android.tools.build:gradle:8.0.2")
classpath(kotlin("gradle-plugin", version = "$kotlin_version"))
classpath("com.jakewharton:butterknife-gradle-plugin:10.2.3")
classpath("org.codehaus.groovy:groovy-json:3.0.8")
classpath("com.yanzhenjie.andserver:plugin:2.1.12")
classpath(libs.okhttp)
}
}
allprojects {
repositories {
mavenLocal()
//首选国外镜像加快github CI
google()
mavenCentral()
maven("https://www.jitpack.io")
maven("https://120.25.164.233:8081/nexus/content/groups/public/")
maven("https://maven.aliyun.com/repository/central")
google { url = uri("https://maven.aliyun.com/repository/google") }
mavenCentral { url = uri("https://maven.aliyun.com/repository/public") }
}
// tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile::class.java){
// kotlinOptions{
// freeCompilerArgs = freeCompilerArgs.toMutableList().apply {
// add("-P")
// add("plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true")
// }
// }
// }
}
tasks.register<Delete>("clean").configure {
delete(rootProject.buildDir)
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。