mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-03 03:54:45 +08:00
34 lines
886 B
Groovy
34 lines
886 B
Groovy
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
mavenCentral()
|
|
google()
|
|
}
|
|
|
|
dependencies {
|
|
// Do try to waste your time.
|
|
classpath 'com.android.tools.build:gradle:3.5.3'
|
|
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 {
|
|
jcenter()
|
|
mavenCentral()
|
|
google()
|
|
maven { url "https://dl.bintray.com/kotlin/kotlin-eap" }
|
|
maven { url "https://dl.bintray.com/kotlin/kotlin-dev" }
|
|
}
|
|
} |