mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 16:54:04 +00:00
- Split into Gradle subprojects api (com.volmit:iris-api) and host (com.volmit:iris-host). ExposedPackages never exposes com.volmit.host. - One unchecked ModuleLoadException(moduleId, origin, message, cause) for every load error; messages unchanged. - PlacementAccess.set(x, y, z, state) next to set(PlacedBlock). - BlockState: precompiled patterns, withProperty copies once. - Mantle and layer views are made once per invocation. - Hunk getters are width(), height(), depth(). - Held types and host types are deprecated for removal at the cut-over. - Docs: artifacts, one-or-more modules per jar, no option shorthand.
26 lines
597 B
Kotlin
26 lines
597 B
Kotlin
subprojects {
|
|
apply(plugin = "java-library")
|
|
|
|
group = "com.volmit"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
configure<JavaPluginExtension> {
|
|
toolchain.languageVersion.set(JavaLanguageVersion.of(25))
|
|
withSourcesJar()
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
"testImplementation"(platform("org.junit:junit-bom:6.0.0"))
|
|
"testImplementation"("org.junit.jupiter:junit-jupiter")
|
|
"testRuntimeOnly"("org.junit.platform:junit-platform-launcher")
|
|
}
|
|
|
|
tasks.withType<Test>().configureEach {
|
|
useJUnitPlatform()
|
|
}
|
|
}
|