Loading pkgs/by-name/ap/apkeditor/arsclib/default.nix 0 → 100644 +33 −0 Original line number Diff line number Diff line { fetchFromGitHub, gradle, lib, REAndroidLibrary, }: let self = REAndroidLibrary { pname = "arsclib"; # 1.3.5 is not new enough for APKEditor because of API changes version = "1.3.5-unstable-2024-10-21"; projectName = "ARSCLib"; src = fetchFromGitHub { owner = "REAndroid"; repo = "ARSCLib"; # This is the latest commit at the time of packaging. # It can be changed to a stable release ("V${version}") # if it is compatible with APKEditor. rev = "ed6ccf00e56d7cce13e8648ad46a2678a6093248"; hash = "sha256-jzd7xkc4O+P9hlGsFGGl2P3pqVvV5+mDyKTRUuGfFSA="; }; mitmCache = gradle.fetchDeps { pkg = self; data = ./deps.json; }; meta.license = lib.licenses.asl20; }; in self pkgs/by-name/ap/apkeditor/arsclib/deps.json 0 → 100644 +17 −0 Original line number Diff line number Diff line { "!comment": "This is a nixpkgs Gradle dependency lockfile. For more details, refer to the Gradle section in the nixpkgs manual.", "!version": 1, "https://repo.maven.apache.org/maven2": { "junit#junit/4.12": { "jar": "sha256-WXIfCAXiI9hLkGd4h9n/Vn3FNNfFAsqQPAwrF/BcEWo=", "pom": "sha256-kPFj944/+28cetl96efrpO6iWAcUG4XW0SvmfKJUScQ=" }, "org/hamcrest#hamcrest-core/1.3": { "jar": "sha256-Zv3vkelzk0jfeglqo4SlaF9Oh1WEzOiThqekclHE2Ok=", "pom": "sha256-/eOGp5BRc6GxA95quCBydYS1DQ4yKC4nl3h8IKZP+pM=" }, "org/hamcrest#hamcrest-parent/1.3": { "pom": "sha256-bVNflO+2Y722gsnyelAzU5RogAlkK6epZ3UEvBvkEps=" } } } pkgs/by-name/ap/apkeditor/fix-gradle.patch 0 → 100644 +41 −0 Original line number Diff line number Diff line diff --git a/build.gradle b/build.gradle index 97fd54f..128a269 100755 --- a/build.gradle +++ b/build.gradle @@ -5,8 +5,8 @@ group 'com.reandroid.apkeditor' version '1.4.1' java { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 } if (JavaVersion.current().isJava8Compatible()) { @@ -22,13 +22,13 @@ repositories { dependencies { //implementation("io.github.reandroid:ARSCLib:+") - compile(files("$rootProject.projectDir/libs/ARSCLib.jar")) + implementation(files("$rootProject.projectDir/libs/ARSCLib.jar")) // built from: https://github.com/REAndroid/smali-lib - compile(files("$rootProject.projectDir/libs/smali.jar")) + implementation(files("$rootProject.projectDir/libs/smali.jar")) // built from: https://github.com/REAndroid/JCommand - compile(files("$rootProject.projectDir/libs/JCommand.jar")) + implementation(files("$rootProject.projectDir/libs/JCommand.jar")) } processResources { @@ -52,7 +52,7 @@ task fatJar(type: Jar) { 'Main-Class': 'com.reandroid.apkeditor.Main' ) } - from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } + from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } } with jar } pkgs/by-name/ap/apkeditor/jcommand/default.nix 0 → 100644 +33 −0 Original line number Diff line number Diff line { fetchFromGitHub, gradle, lib, REAndroidLibrary, }: let self = REAndroidLibrary { pname = "jcommand"; version = "0-unstable-2024-09-20"; projectName = "JCommand"; src = fetchFromGitHub { owner = "REAndroid"; repo = "JCommand"; # No tagged releases, and # it is hard to determine the actual commit that APKEditor is intended to use, # so I think we should use the latest commit that doesn't break compilation or basic functionality. # Currently this is the latest commit at the time of packaging. rev = "714b6263c28dabb34adc858951cf4bc60d6c3fed"; hash = "sha256-6Em+1ddUkZBCYWs88qtfeGnxISZchFrHgDL8fsgZoQg="; }; mitmCache = gradle.fetchDeps { pkg = self; data = ./deps.json; }; meta.license = lib.licenses.asl20; }; in self pkgs/by-name/ap/apkeditor/jcommand/deps.json 0 → 100644 +17 −0 Original line number Diff line number Diff line { "!comment": "This is a nixpkgs Gradle dependency lockfile. For more details, refer to the Gradle section in the nixpkgs manual.", "!version": 1, "https://repo.maven.apache.org/maven2": { "junit#junit/4.12": { "jar": "sha256-WXIfCAXiI9hLkGd4h9n/Vn3FNNfFAsqQPAwrF/BcEWo=", "pom": "sha256-kPFj944/+28cetl96efrpO6iWAcUG4XW0SvmfKJUScQ=" }, "org/hamcrest#hamcrest-core/1.3": { "jar": "sha256-Zv3vkelzk0jfeglqo4SlaF9Oh1WEzOiThqekclHE2Ok=", "pom": "sha256-/eOGp5BRc6GxA95quCBydYS1DQ4yKC4nl3h8IKZP+pM=" }, "org/hamcrest#hamcrest-parent/1.3": { "pom": "sha256-bVNflO+2Y722gsnyelAzU5RogAlkK6epZ3UEvBvkEps=" } } } Loading
pkgs/by-name/ap/apkeditor/arsclib/default.nix 0 → 100644 +33 −0 Original line number Diff line number Diff line { fetchFromGitHub, gradle, lib, REAndroidLibrary, }: let self = REAndroidLibrary { pname = "arsclib"; # 1.3.5 is not new enough for APKEditor because of API changes version = "1.3.5-unstable-2024-10-21"; projectName = "ARSCLib"; src = fetchFromGitHub { owner = "REAndroid"; repo = "ARSCLib"; # This is the latest commit at the time of packaging. # It can be changed to a stable release ("V${version}") # if it is compatible with APKEditor. rev = "ed6ccf00e56d7cce13e8648ad46a2678a6093248"; hash = "sha256-jzd7xkc4O+P9hlGsFGGl2P3pqVvV5+mDyKTRUuGfFSA="; }; mitmCache = gradle.fetchDeps { pkg = self; data = ./deps.json; }; meta.license = lib.licenses.asl20; }; in self
pkgs/by-name/ap/apkeditor/arsclib/deps.json 0 → 100644 +17 −0 Original line number Diff line number Diff line { "!comment": "This is a nixpkgs Gradle dependency lockfile. For more details, refer to the Gradle section in the nixpkgs manual.", "!version": 1, "https://repo.maven.apache.org/maven2": { "junit#junit/4.12": { "jar": "sha256-WXIfCAXiI9hLkGd4h9n/Vn3FNNfFAsqQPAwrF/BcEWo=", "pom": "sha256-kPFj944/+28cetl96efrpO6iWAcUG4XW0SvmfKJUScQ=" }, "org/hamcrest#hamcrest-core/1.3": { "jar": "sha256-Zv3vkelzk0jfeglqo4SlaF9Oh1WEzOiThqekclHE2Ok=", "pom": "sha256-/eOGp5BRc6GxA95quCBydYS1DQ4yKC4nl3h8IKZP+pM=" }, "org/hamcrest#hamcrest-parent/1.3": { "pom": "sha256-bVNflO+2Y722gsnyelAzU5RogAlkK6epZ3UEvBvkEps=" } } }
pkgs/by-name/ap/apkeditor/fix-gradle.patch 0 → 100644 +41 −0 Original line number Diff line number Diff line diff --git a/build.gradle b/build.gradle index 97fd54f..128a269 100755 --- a/build.gradle +++ b/build.gradle @@ -5,8 +5,8 @@ group 'com.reandroid.apkeditor' version '1.4.1' java { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 } if (JavaVersion.current().isJava8Compatible()) { @@ -22,13 +22,13 @@ repositories { dependencies { //implementation("io.github.reandroid:ARSCLib:+") - compile(files("$rootProject.projectDir/libs/ARSCLib.jar")) + implementation(files("$rootProject.projectDir/libs/ARSCLib.jar")) // built from: https://github.com/REAndroid/smali-lib - compile(files("$rootProject.projectDir/libs/smali.jar")) + implementation(files("$rootProject.projectDir/libs/smali.jar")) // built from: https://github.com/REAndroid/JCommand - compile(files("$rootProject.projectDir/libs/JCommand.jar")) + implementation(files("$rootProject.projectDir/libs/JCommand.jar")) } processResources { @@ -52,7 +52,7 @@ task fatJar(type: Jar) { 'Main-Class': 'com.reandroid.apkeditor.Main' ) } - from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } + from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } } with jar }
pkgs/by-name/ap/apkeditor/jcommand/default.nix 0 → 100644 +33 −0 Original line number Diff line number Diff line { fetchFromGitHub, gradle, lib, REAndroidLibrary, }: let self = REAndroidLibrary { pname = "jcommand"; version = "0-unstable-2024-09-20"; projectName = "JCommand"; src = fetchFromGitHub { owner = "REAndroid"; repo = "JCommand"; # No tagged releases, and # it is hard to determine the actual commit that APKEditor is intended to use, # so I think we should use the latest commit that doesn't break compilation or basic functionality. # Currently this is the latest commit at the time of packaging. rev = "714b6263c28dabb34adc858951cf4bc60d6c3fed"; hash = "sha256-6Em+1ddUkZBCYWs88qtfeGnxISZchFrHgDL8fsgZoQg="; }; mitmCache = gradle.fetchDeps { pkg = self; data = ./deps.json; }; meta.license = lib.licenses.asl20; }; in self
pkgs/by-name/ap/apkeditor/jcommand/deps.json 0 → 100644 +17 −0 Original line number Diff line number Diff line { "!comment": "This is a nixpkgs Gradle dependency lockfile. For more details, refer to the Gradle section in the nixpkgs manual.", "!version": 1, "https://repo.maven.apache.org/maven2": { "junit#junit/4.12": { "jar": "sha256-WXIfCAXiI9hLkGd4h9n/Vn3FNNfFAsqQPAwrF/BcEWo=", "pom": "sha256-kPFj944/+28cetl96efrpO6iWAcUG4XW0SvmfKJUScQ=" }, "org/hamcrest#hamcrest-core/1.3": { "jar": "sha256-Zv3vkelzk0jfeglqo4SlaF9Oh1WEzOiThqekclHE2Ok=", "pom": "sha256-/eOGp5BRc6GxA95quCBydYS1DQ4yKC4nl3h8IKZP+pM=" }, "org/hamcrest#hamcrest-parent/1.3": { "pom": "sha256-bVNflO+2Y722gsnyelAzU5RogAlkK6epZ3UEvBvkEps=" } } }