This repository has been archived by the owner on Aug 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
90 lines (70 loc) · 2.57 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
import org.gradle.internal.os.OperatingSystem
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'io.spring.gradle:dependency-management-plugin:1.0.3.RELEASE'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "org.junit.platform:junit-platform-gradle-plugin:1.0.1"
}
}
switch ( OperatingSystem.current() ) {
case OperatingSystem.WINDOWS:
project.ext.lwjglNatives = "natives-windows"
break
case OperatingSystem.LINUX:
project.ext.lwjglNatives = "natives-linux"
break
case OperatingSystem.MAC_OS:
project.ext.lwjglNatives = "natives-macos"
break
}
subprojects {
apply plugin: 'io.spring.dependency-management'
repositories {
jcenter()
}
dependencyManagement {
dependencies {
dependencySet(group:'org.jetbrains.kotlin', version: kotlinVersion) {
entry 'kotlin-stdlib-common'
entry 'kotlin-stdlib-jdk8'
entry 'kotlin-reflect'
}
dependencySet(group:'org.jetbrains.kotlinx', version: '0.19.3') {
entry('kotlinx-coroutines-core') {
exclude 'org.jetbrains.kotlin:kotlin-stdlib'
}
}
dependencySet(group: 'org.lwjgl', version: lwjglVersion) {
entry 'lwjgl'
entry 'lwjgl-glfw'
entry 'lwjgl-opengl'
}
dependencySet(group: 'io.dropwizard.metrics', version: '3.2.5') {
entry 'metrics-core'
}
dependency 'io.github.microutils:kotlin-logging:1.4.6'
dependencySet(group: 'org.slf4j', version: '1.7.25') {
entry 'slf4j-api'
}
dependency 'ch.qos.logback:logback-classic:1.2.3'
dependency 'org.joml:joml:1.9.6'
dependency 'org.roaringbitmap:RoaringBitmap:0.6.51'
dependency 'com.nhaarman:mockito-kotlin:1.5.0'
dependency 'com.natpryce:hamkrest:1.4.2.2'
dependency 'org.mockito:mockito-core:2.11.0'
dependencySet(group: 'org.junit.platform', version: '1.0.1') {
entry 'junit-platform-engine'
entry 'junit-platform-runner'
entry 'junit-platform-launcher'
}
dependencySet(group: 'org.jetbrains.spek', version: '1.1.5') {
entry 'spek-api'
entry 'spek-subject-extension'
entry 'spek-junit-platform-engine'
}
}
}
}