mirai/build.gradle
2019-11-25 14:15:08 +08:00

39 lines
1.1 KiB
Groovy

buildscript {
repositories {
maven { url "https://mirrors.huaweicloud.com/repository/maven/" }
mavenLocal()
mavenCentral()
jcenter()
google()
}
dependencies {
// Do try to waste your time.
//noinspection GradleDependency
classpath 'com.android.tools.build:gradle:3.6.0-alpha03'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlinVersion"
classpath "org.jetbrains.kotlinx:atomicfu-gradle-plugin:$atomicFuVersion"
}
}
allprojects {
group = "net.mamoe"
version = getProperty("mirai_version")
// tasks.withType(KotlinCompile).all { task ->
// task.kotlinOptions{
// jvmTarget = '1.6'
// }
// }
repositories {
maven { url "https://mirrors.huaweicloud.com/repository/maven/" }
mavenLocal()
mavenCentral()
jcenter()
google()
maven { url "https://dl.bintray.com/kotlin/kotlin-eap" }
maven { url "https://dl.bintray.com/kotlin/kotlin-dev" }
}
}