mirai/settings.gradle

28 lines
916 B
Groovy
Raw Normal View History

2019-11-23 22:34:57 +08:00
pluginManagement {
resolutionStrategy {
eachPlugin {
switch (requested.id.id) {
case "org.jetbrains.kotlin.multiplatform": useModule("org.jetbrains.kotlin:kotlin-gradle-plugin:${requested.version}"); break
case "com.android.library": useModule("com.android.tools.build:gradle:${requested.version}"); break
case "com.jfrog.bintray": useModule("com.jfrog.bintray.gradle:gradle-bintray-plugin:${requested.version}")
}
}
}
repositories {
2019-12-07 00:33:44 +08:00
mavenLocal()
2019-11-29 21:38:02 +08:00
jcenter()
2019-11-23 22:34:57 +08:00
google()
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
maven { url "https://dl.bintray.com/jetbrains/kotlin-native-dependencies" }
}
}
2019-10-03 19:07:03 +08:00
rootProject.name = 'mirai'
2019-10-30 23:00:29 +08:00
2019-10-03 19:07:03 +08:00
include(':mirai-core')
2019-12-23 19:31:13 +08:00
include(':mirai-core-qqandroid')
2019-10-30 23:00:29 +08:00
2020-02-28 08:56:27 +08:00
// include(':mirai-api-http')
2019-11-06 21:22:23 +08:00
enableFeaturePreview('GRADLE_METADATA')