depot/third_party/nixpkgs/pkgs/tools/security/jadx/no-native-deps.diff
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

68 lines
2 KiB
Diff

diff --git a/jadx-gui/build.gradle.kts b/jadx-gui/build.gradle.kts
index 09f2c05f..bdb641b0 100644
--- a/jadx-gui/build.gradle.kts
+++ b/jadx-gui/build.gradle.kts
@@ -1,7 +1,6 @@
plugins {
id("jadx-kotlin")
id("application")
- id("edu.sc.seis.launch4j") version "3.0.5"
id("com.github.johnrengelman.shadow") version "8.1.1"
id("org.beryx.runtime") version "1.13.1"
}
@@ -101,24 +100,6 @@
}
}
-launch4j {
- mainClassName.set(application.mainClass.get())
- copyConfigurable.set(listOf<Any>())
- setJarTask(tasks.shadowJar.get())
- icon.set("$projectDir/src/main/resources/logos/jadx-logo.ico")
- outfile.set("jadx-gui-$jadxVersion.exe")
- copyright.set("Skylot")
- windowTitle.set("jadx")
- companyName.set("jadx")
- jreMinVersion.set("11")
- jvmOptions.set(application.applicationDefaultJvmArgs.toSet())
- requires64Bit.set(true)
- initialHeapPercent.set(5)
- maxHeapSize.set(4096)
- maxHeapPercent.set(70)
- downloadUrl.set("https://www.oracle.com/java/technologies/downloads/#jdk17-windows")
- bundledJrePath.set(if (project.hasProperty("bundleJRE")) "%EXEDIR%/jre" else "%JAVA_HOME%")
-}
runtime {
addOptions("--strip-debug", "--compress", "2", "--no-header-files", "--no-man-pages")
@@ -137,30 +118,6 @@
}
}
-val copyDistWinWithJre by tasks.registering(Copy::class) {
- group = "jadx"
- dependsOn(tasks.named("runtime"), tasks.named("createExe"))
- from(runtime.jreDir) {
- include("**/*")
- into("jre")
- }
- from(tasks.named("createExe").get().outputs) {
- include("*.exe")
- }
- into(layout.buildDirectory.dir("jadx-gui-$jadxVersion-with-jre-win"))
- duplicatesStrategy = DuplicatesStrategy.EXCLUDE
-}
-
-val distWinWithJre by tasks.registering(Zip::class) {
- group = "jadx"
- dependsOn(copyDistWinWithJre)
- archiveFileName.set("jadx-gui-$jadxVersion-with-jre-win.zip")
- from(copyDistWinWithJre.get().outputs) {
- include("**/*")
- }
- into(layout.buildDirectory.asFile)
- duplicatesStrategy = DuplicatesStrategy.EXCLUDE
-}
val addNewNLSLines by tasks.registering(JavaExec::class) {
group = "jadx"