Skip to content

Commit

Permalink
remove weird task
Browse files Browse the repository at this point in the history
  • Loading branch information
natanfudge committed Mar 3, 2023
1 parent 0eba5a3 commit 6334441
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 19 deletions.
18 changes: 9 additions & 9 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ remapJar {
}

// Asset files will otherwise be missing when debugging
task copyAssetFilesForDebugging(type: Copy) {
def inAssets = rootProject.file("common/src/main/resources/assets/notenoughcrashes")
def outAssets = new File("${project.buildDir}/resources/main/assets/notenoughcrashes")
from inAssets
into outAssets
dependsOn rootProject.processResources
}

classes.dependsOn(copyAssetFilesForDebugging)
//task copyAssetFilesForDebugging(type: Copy) {
// def inAssets = rootProject.file("common/src/main/resources/assets/notenoughcrashes")
// def outAssets = new File("${project.buildDir}/resources/main/assets/notenoughcrashes")
// from inAssets
// into outAssets
// dependsOn rootProject.processResources
//}
//
//classes.dependsOn(copyAssetFilesForDebugging)


curseforge {
Expand Down
10 changes: 0 additions & 10 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,6 @@ modrinth {
versionType = "release"
}

// Asset files will otherwise be missing when debugging
task copyAssetFilesForDebugging(type: Copy) {
def inAssets = rootProject.file("common/src/main/resources/assets/notenoughcrashes")
def outAssets = new File("${project.buildDir}/resources/main/assets/notenoughcrashes")
from inAssets
into outAssets
dependsOn rootProject.processResources
}

classes.dependsOn(copyAssetFilesForDebugging)

task publishForge {
group = "publishing"
Expand Down

0 comments on commit 6334441

Please sign in to comment.