mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-06 16:51:37 +00:00
Remove plugins.gradle and factor into common extension
This commit is contained in:
+6
-11
@@ -6,15 +6,11 @@ buildscript {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
||||
classpath group: 'com.moandjiezana.toml', name: 'toml4j', version: '0.7.1'
|
||||
classpath group: 'org.jetbrains.kotlin', name: 'kotlin-gradle-plugin', version: "$kotlinVersion"
|
||||
}
|
||||
}
|
||||
|
||||
ext.pluginsDir = "$projectDir/src/plugins"
|
||||
|
||||
apply plugin: 'kotlin'
|
||||
apply from: 'plugins.gradle'
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
@@ -24,12 +20,6 @@ sourceSets {
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url { 'https://dl.bintray.com/kotlin/kotlinx/' }
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile project(':cache')
|
||||
compile project(':net')
|
||||
@@ -41,6 +31,11 @@ dependencies {
|
||||
compile group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-jdk8', version: '0.16'
|
||||
compile group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: '0.16'
|
||||
|
||||
project(":game:plugin").subprojects.each { plugin ->
|
||||
println(plugin)
|
||||
runtime plugin
|
||||
}
|
||||
|
||||
testCompile group: 'org.assertj', name: 'assertj-core', version: '3.8.0'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user