diff options
author | nea <romangraef@gmail.com> | 2022-08-20 00:15:45 +0200 |
---|---|---|
committer | nea <romangraef@gmail.com> | 2022-08-20 00:15:45 +0200 |
commit | 11d52f2532e324f4a98cc7ca541fb6e15056c9ae (patch) | |
tree | 1c58682d1049704f565b8134fcc8988a331d217a /build.gradle.kts | |
parent | dab56f480e05c71d1317c4df8d3b36aa12112db2 (diff) | |
download | NotEnoughUpdates-11d52f2532e324f4a98cc7ca541fb6e15056c9ae.tar.gz NotEnoughUpdates-11d52f2532e324f4a98cc7ca541fb6e15056c9ae.tar.bz2 NotEnoughUpdates-11d52f2532e324f4a98cc7ca541fb6e15056c9ae.zip |
Also warn on fabric
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index a4f214c6..7bf9fe39 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -19,7 +19,6 @@ import net.fabricmc.loom.task.RemapJarTask -import org.gradle.internal.impldep.org.apache.ivy.osgi.util.ZipUtil import java.io.ByteArrayOutputStream import java.nio.file.FileSystems import java.nio.file.Files @@ -160,8 +159,8 @@ val remapJar by tasks.named<net.fabricmc.loom.task.RemapJarTask>("remapJar") { val zipFs = FileSystems.newFileSystem(archiveFile.get().asFile.toPath()) val moduleInfoPath = zipFs.getPath("/module-info.class") Files.copy(file("src/main/resources/META-INF/versions/9/module-info.class").toPath(), moduleInfoPath) - println(Files.exists(moduleInfoPath)) zipFs.close() + println("Jar name: ${archiveFile.get().asFile}") } } @@ -180,13 +179,6 @@ tasks.shadowJar { tasks.assemble.get().dependsOn(remapJar) -tasks.remapJar{ - - doLast{ - println("Jar name :" + archiveFileName.get()) - } -} - tasks.processResources { filesMatching("mcmod.info") { expand( |