1 Star 1 Fork 5

koman/AutoX

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle.kts 1.99 KB
一键复制 编辑 原始数据 按行查看 历史
aiselp 提交于 2023-12-02 14:58 . 编辑器更新,添加rxjs特有调度器
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)
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/koman/AutoX.git
[email protected]:koman/AutoX.git
koman
AutoX
AutoX
dev-test

搜索帮助