Skip to content

Commit

Permalink
fix #94
Browse files Browse the repository at this point in the history
  • Loading branch information
TropheusJ committed Mar 26, 2024
1 parent bb898fd commit cecd25d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,6 @@ allprojects {
filesMatching("fabric.mod.json") {
expand properties
}

// include icon
from(rootProject.file("src/main/resources/assets/porting_lib/icon.png"))
}

jar.from(rootProject.file("LICENSE")) // copy license file into jar
Expand Down Expand Up @@ -194,6 +191,13 @@ subprojects {
aw.set(awFile)
}

processResources {
// include icon
into("assets/porting_lib") {
from(rootProject.file("src/main/resources/assets/porting_lib/icon.png"))
}
}

java.withSourcesJar()

publishing {
Expand Down

0 comments on commit cecd25d

Please sign in to comment.