Skip to content

Commit

Permalink
converted build.gradle to kts - no forge version for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Pulverizer committed Oct 7, 2023
1 parent 982b7b2 commit 4162164
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 170 deletions.
1 change: 0 additions & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

174 changes: 14 additions & 160 deletions .idea/workspace.xml

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id("io.github.pulverizer.movecraft.common_build")
id("org.spongepowered.gradle.vanilla")
}

tasks.shadowJar {
Expand All @@ -22,4 +23,9 @@ dependencies {
"provided"(project(path = ":", configuration = "provided"))
"shade"(project(path = ":")) { isTransitive = false }
"shade"(project(path = ":", configuration = "shade"))
}

minecraft {
version("1.16.5")
//accessWideners(file("../src/main/resources/movecraft.accesswidener"))
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ plugins {
id("org.spongepowered.gradle.ore") // for Ore publishing

// my plugins
id("org.spongepowered.gradle.vanilla")
`maven-publish`
}

Expand Down Expand Up @@ -49,11 +48,6 @@ sponge {
}
}

minecraft {
version("1.16.5")
//accessWideners(file("../src/main/resources/movecraft.accesswidener"))
}

val javaTarget = 16
java {
sourceCompatibility = JavaVersion.toVersion(javaTarget)
Expand Down
2 changes: 1 addition & 1 deletion gradle/forge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

plugins {
id("io.github.pulverizer.movecraft.common_build")
//id("net.smoofyuniverse.loom") version "0.12.0-SNAPSHOT"
id("net.smoofyuniverse.loom") version "0.12.0-SNAPSHOT"
}

tasks.jar {
Expand Down
6 changes: 6 additions & 0 deletions gradle/vanilla/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

plugins {
id("io.github.pulverizer.movecraft.common_build")
id("org.spongepowered.gradle.vanilla")
}

tasks.jar {
Expand Down Expand Up @@ -55,4 +56,9 @@ tasks.create<Copy>("setupServer") {
into("mods") {
from(tasks.shadowJar)
}
}

minecraft {
version("1.16.5")
//accessWideners(file("../src/main/resources/movecraft.accesswidener"))
}
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ pluginManagement {
rootProject.name = 'movecraft'

include ':gradle:vanilla'
include ':gradle:forge'
//include ':gradle:forge'

0 comments on commit 4162164

Please sign in to comment.