mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
69 lines
2.0 KiB
Diff
69 lines
2.0 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"
|