From 27958ae844d1572def1e198458aeeb89f4b110ea Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Tue, 23 Jan 2024 21:08:42 +0200 Subject: [PATCH] new file: projects/github.com/skylot/jadx/package.yml --- projects/github.com/skylot/jadx/package.yml | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 projects/github.com/skylot/jadx/package.yml diff --git a/projects/github.com/skylot/jadx/package.yml b/projects/github.com/skylot/jadx/package.yml new file mode 100644 index 00000000..d74f0905 --- /dev/null +++ b/projects/github.com/skylot/jadx/package.yml @@ -0,0 +1,33 @@ +distributable: + url: git+https://github.com/skylot/jadx.git + ref: ${{version.tag}} + +versions: + github: skylot/jadx + +dependencies: + openjdk.org: ^20 + +build: + dependencies: + gradle.org: '*' + script: + - gradle clean dist + - mkdir -p {{prefix}} + - run: cp -r bin lib {{prefix}}/ + working-directory: build/jadx + - run: rm -rf ./*.bat + working-directory: ${{prefix}}/bin + +provides: + - bin/jadx + - bin/jadx-gui + +test: + dependencies: + curl.se: '*' + script: + - curl -L "https://raw.githubusercontent.com/facebook/redex/fa32d542d4074dbd485584413d69ea0c9c3cbc98/test/instr/redex-test.apk" -o redex-test.apk + - jadx -d out redex-test.apk | grep 'done' + - ls | grep 'out' + \ No newline at end of file