-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
81 lines (73 loc) · 2.21 KB
/
build.gradle.kts
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
plugins {
kotlin("multiplatform") version "1.7.0"
}
repositories {
mavenCentral()
// maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
// maven { url "https://dl.bintray.com/dominaezzz/kotlin-native" }
}
kotlin {
jvm {
}
// mingwX64("native") {
//
// }
// js(IR) {
// browser()
// binaries.executable()
// }
sourceSets {
val commonMain by getting {
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.3")
}
}
val commonTest by getting {
dependencies {
implementation(kotlin("test"))
}
}
val jvmMain by getting {
dependencies {
implementation("org.lwjgl:lwjgl:3.2.2")
implementation("org.lwjgl:lwjgl-glfw:3.2.2")
implementation("org.lwjgl:lwjgl-opengl:3.2.2")
runtimeOnly("org.lwjgl:lwjgl:3.2.2:natives-windows")
runtimeOnly("org.lwjgl:lwjgl-glfw:3.2.2:natives-windows")
runtimeOnly("org.lwjgl:lwjgl-opengl:3.2.2:natives-windows")
}
}
val jvmTest by getting
// val jsMain by getting
// val jsTest by getting
// val nativeMain by getting
// val nativeTest by getting
}
//
// sourceSets {
// commonMain {
// dependencies {
// implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.2'
// }
// }
//// jsMain {}
// jvmMain {
// dependencies {
// implementation "org.lwjgl:lwjgl:3.2.2"
// implementation "org.lwjgl:lwjgl-glfw:3.2.2"
// implementation "org.lwjgl:lwjgl-opengl:3.2.2"
// runtimeOnly "org.lwjgl:lwjgl:3.2.2:natives-windows"
// runtimeOnly "org.lwjgl:lwjgl-glfw:3.2.2:natives-windows"
// runtimeOnly "org.lwjgl:lwjgl-opengl:3.2.2:natives-windows"
// }
// }
// all {
// languageSettings {
// languageVersion = '1.5'
// apiVersion = '1.5'
// }
// }
// }
}
group = "me.user"
version = "1.0-SNAPSHOT"