File tree 4 files changed +13
-27
lines changed 4 files changed +13
-27
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ subprojects {
40
40
dependencies {
41
41
compileOnly(kotlin(" stdlib-jdk8" ))
42
42
43
- compileOnly(" org.spigotmc: spigot-api:1.8.8-R0.1-SNAPSHOT " )
43
+ compileOnly(Dep . spigot)
44
44
}
45
45
46
46
kotlin {
Original file line number Diff line number Diff line change @@ -3,31 +3,29 @@ import org.gradle.api.artifacts.ExternalModuleDependency
3
3
import org.gradle.kotlin.dsl.DependencyHandlerScope
4
4
import org.gradle.kotlin.dsl.*
5
5
6
- val serializationDependency = " org.jetbrains.kotlinx:kotlinx-serialization-core:${Versions .serialization} "
7
-
8
6
fun DependencyHandlerScope.baseDependencies (): List <Any > = listOf (
9
7
kotlin(" stdlib-jdk8" ),
10
8
kotlin(" reflect" ),
11
- " org.jetbrains.kotlinx:kotlinx-coroutines-core: ${ Versions .corouties} "
9
+ Dep .coroutinesCore
12
10
)
13
11
14
12
fun DependencyHandlerScope.coreDependencies (): List <String > = listOf (
15
- serializationDependency ,
16
- " com.okkero. skedule:skedule: ${ Versions .skedule} "
13
+ Dep .serializationCore ,
14
+ Dep . skedule
17
15
)
18
16
19
17
fun DependencyHandlerScope.exposedDependencies (): List <String > = listOf (
20
- serializationDependency ,
21
- " org.jetbrains.exposed:exposed- core: ${ Versions .exposed} " ,
22
- " org.jetbrains.exposed:exposed- jdbc: ${ Versions .exposed} " ,
23
- " org.jetbrains.exposed:exposed-java-time: ${ Versions .exposed} " ,
24
- " org.jetbrains.exposed:exposed- dao: ${ Versions .exposed} " ,
25
- " com.zaxxer:HikariCP: ${ Versions .hikari} "
18
+ Dep .serializationCore ,
19
+ Dep . Exposed . core,
20
+ Dep . Exposed . jdbc,
21
+ Dep . Exposed .javaTime ,
22
+ Dep . Exposed . dao,
23
+ Dep .hikariCp
26
24
)
27
25
28
26
fun DependencyHandlerScope.serializationDependencies (): List <String > = listOf (
29
- serializationDependency ,
30
- " com.charleskorn. kaml:kaml: ${ Versions .kaml} "
27
+ Dep .serializationCore ,
28
+ Dep . kaml
31
29
)
32
30
33
31
val changing = Action <ExternalModuleDependency > { isChanging = true }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ plugins {
3
3
}
4
4
5
5
dependencies {
6
- implementation(" org .bstats:bstats-bukkit: ${ Versions .bstats} " )
6
+ implementation(Dep .bstats)
7
7
8
8
baseDependencies().forEach { pdm(it) }
9
9
coreDependencies().forEach { pdm(it, excludeKotlin) }
You can’t perform that action at this time.
0 commit comments