Skip to content

Commit

Permalink
New: layoutdsl unstable project
Browse files Browse the repository at this point in the history
  • Loading branch information
Sychic committed Feb 21, 2024
1 parent 7b52d9b commit bbc8bff
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ project(":platform").apply {
buildFileName = "root.gradle.kts"
}
include(":unstable:statev2")
include(":unstable:layoutdsl")

listOf(
"1.8.9-forge",
Expand Down
31 changes: 31 additions & 0 deletions unstable/layoutdsl/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import gg.essential.gradle.util.setJvmDefault
import gg.essential.gradle.util.versionFromBuildIdAndBranch

plugins {
kotlin("jvm")
id("gg.essential.defaults")
id("maven-publish")
}

version = versionFromBuildIdAndBranch()
group = "gg.essential"

dependencies {
compileOnly(project(":"))
api(project(":unstable:statev2"))
}
tasks.compileKotlin.setJvmDefault("all")

kotlin.jvmToolchain {
(this as JavaToolchainSpec).languageVersion.set(JavaLanguageVersion.of(8))
}

publishing {
publications {
register<MavenPublication>("maven") {
from(components["java"])

artifactId = "elementa-unstable-${project.name}"
}
}
}

0 comments on commit bbc8bff

Please sign in to comment.