Skip to content

Commit bc25789

Browse files
committed
0.5.31
1 parent b630ee1 commit bc25789

File tree

7 files changed

+78
-19
lines changed

7 files changed

+78
-19
lines changed

.idea/kotlinc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/php.xml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle.kts

Lines changed: 53 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,64 @@
1-
import kx.*
2-
import org.lwjgl.Lwjgl
3-
import org.lwjgl.Lwjgl.Module.*
1+
import magik.createGithubPublication
2+
import magik.github
3+
import org.jetbrains.kotlin.gradle.dsl.KotlinCompile
4+
import org.lwjgl.lwjgl
5+
import org.lwjgl.lwjgl.Module.*
46

57
plugins {
6-
fun kx(vararg p: Pair<String, String>) = p.forEach { id("io.github.kotlin-graphics.${it.first}") version it.second }
7-
kx("align" to "0.0.7",
8-
"base" to "0.0.10",
9-
"publish" to "0.0.6",
10-
"utils" to "0.0.5")
11-
id("org.lwjgl.plugin") version "0.0.20"
8+
kotlin("jvm") version embeddedKotlinVersion
9+
id("org.lwjgl.plugin") version "0.0.29"
10+
id("elect86.magik") version "0.3.1"
11+
`maven-publish`
12+
}
13+
14+
repositories {
15+
mavenCentral()
16+
github("kotlin-graphics/mary")
1217
}
1318

1419
dependencies {
1520

1621
implementation(kotlin("reflect"))
22+
implementation("kotlin.graphics:gli:0.8.3.0-18")
23+
implementation("kotlin.graphics:glm:0.9.9.1-5")
24+
implementation("kotlin.graphics:unsigned:3.3.31")
25+
implementation("kotlin.graphics:kool:0.9.68")
1726

18-
implementation(unsigned, kool, glm, gli)
19-
20-
// compile group: 'org.jetbrains.kotlin.kapt', name: 'org.jetbrains.kotlin.kapt.gradle.plugin', version: '1.3.0-rc-146'
21-
22-
Lwjgl {
27+
lwjgl {
2328
implementation(glfw, jemalloc, openal, opengl, opengles, stb)
2429
testImplementation(opengl)
2530
}
26-
}
31+
32+
testImplementation("io.kotest:kotest-runner-junit5:5.4.1")
33+
testImplementation("io.kotest:kotest-assertions-core:5.4.1")
34+
}
35+
36+
kotlin.jvmToolchain {
37+
this as JavaToolchainSpec
38+
languageVersion.set(JavaLanguageVersion.of(8))
39+
}
40+
41+
tasks {
42+
withType<KotlinCompile<*>>().all {
43+
kotlinOptions {
44+
freeCompilerArgs += listOf("-opt-in=kotlin.RequiresOptIn")
45+
}
46+
}
47+
withType<Test>().configureEach { useJUnitPlatform() }
48+
}
49+
50+
publishing {
51+
publications {
52+
createGithubPublication {
53+
from(components["java"])
54+
suppressAllPomMetadataWarnings()
55+
}
56+
}
57+
repositories {
58+
github {
59+
domain = "kotlin-graphics/mary"
60+
}
61+
}
62+
}
63+
64+
java { withSourcesJar() }

gradle/wrapper/gradle-wrapper.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
7-
distributionSha256Sum=de8f52ad49bdc759164f72439a3bf56ddb1589c4cde802d3cec7d6ad0e0ee410
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
7+
distributionSha256Sum=f6b8596b10cce501591e92f229816aa4046424f3b24d771751b06779d58c8ec4

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ pluginManagement {
1010

1111
gradle.rootProject {
1212
group = "kotlin.graphics"
13-
version = "0.5.3"
13+
version = "0.5.31"
1414
}
File renamed without changes.

0 commit comments

Comments
 (0)