Skip to content

Commit

Permalink
fix forge-latest publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
DJtheRedstoner committed Mar 29, 2023
1 parent d1c70e1 commit 1f4f988
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {

allprojects {
group = "me.djtheredstoner"
version = "1.1.1"
version = "1.1.2"

repositories {
mavenCentral()
Expand Down
6 changes: 5 additions & 1 deletion forge-latest/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies {
mappings(loom.officialMojangMappings())
forge("net.minecraftforge:forge:1.18.2-40.0.13")

api(project(":common"))
compileOnly(project(":common"))

shade(project(":common"))
}
Expand All @@ -40,6 +40,10 @@ tasks {
dependsOn(project(":common").tasks.named("jar"))
from(shade.files.map { zipTree(it) })
}

sourcesJar {
from(project(":common").sourceSets.main.get().allSource)
}
}

configureMcProject()

0 comments on commit 1f4f988

Please sign in to comment.