2019-10-03 19:07:03 +08:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
2019-10-24 10:59:13 +08:00
|
|
|
jcenter()
|
2019-11-29 23:54:10 +08:00
|
|
|
mavenCentral()
|
2019-10-30 23:00:29 +08:00
|
|
|
google()
|
2019-10-03 19:07:03 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2019-11-25 14:15:08 +08:00
|
|
|
// Do try to waste your time.
|
2019-12-06 23:49:17 +08:00
|
|
|
classpath 'com.android.tools.build:gradle:3.5.3'
|
2019-11-17 12:52:48 +08:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlinVersion"
|
|
|
|
classpath "org.jetbrains.kotlinx:atomicfu-gradle-plugin:$atomicFuVersion"
|
2019-10-03 19:07:03 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
group = "net.mamoe"
|
2019-10-24 10:59:13 +08:00
|
|
|
version = getProperty("mirai_version")
|
2019-10-03 19:07:03 +08:00
|
|
|
|
2019-11-23 22:34:57 +08:00
|
|
|
// tasks.withType(KotlinCompile).all { task ->
|
|
|
|
// task.kotlinOptions{
|
|
|
|
// jvmTarget = '1.6'
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
2019-10-03 19:07:03 +08:00
|
|
|
repositories {
|
2019-10-24 10:59:13 +08:00
|
|
|
jcenter()
|
2019-11-29 23:54:10 +08:00
|
|
|
mavenCentral()
|
2019-10-30 23:00:29 +08:00
|
|
|
google()
|
2019-11-15 10:39:00 +08:00
|
|
|
maven { url "https://dl.bintray.com/kotlin/kotlin-eap" }
|
|
|
|
maven { url "https://dl.bintray.com/kotlin/kotlin-dev" }
|
2019-10-03 19:07:03 +08:00
|
|
|
}
|
2019-11-23 22:34:57 +08:00
|
|
|
}
|