-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
37 lines (31 loc) · 911 Bytes
/
build.gradle.kts
File metadata and controls
37 lines (31 loc) · 911 Bytes
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
import magik.createGithubPublication
import magik.github
import org.jetbrains.kotlin.gradle.dsl.KotlinCompile
plugins {
kotlin("jvm") version embeddedKotlinVersion
id("org.lwjgl.plugin") version "0.0.34"
id("elect86.magik") version "0.3.2"
`maven-publish`
// id("com.github.johnrengelman.shadow") version "8.1.1"
}
dependencies {
api(projects.core)
api(projects.awt)
api(projects.gl)
// vk
}
kotlin.jvmToolchain { languageVersion.set(JavaLanguageVersion.of(8)) }
tasks {
withType<KotlinCompile<*>>().all { kotlinOptions { freeCompilerArgs += listOf("-opt-in=kotlin.RequiresOptIn") } }
test { useJUnitPlatform() }
}
publishing {
publications {
createGithubPublication {
from(components["java"])
suppressAllPomMetadataWarnings()
}
}
repositories.github { domain = "kotlin-graphics/mary" }
}
java.withSourcesJar()