Skip to content

Commit

Permalink
Revert "add gradle application plugin"
Browse files Browse the repository at this point in the history
  • Loading branch information
REAndroid committed Aug 10, 2023
1 parent 905884f commit a377a73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@
/.gradle/
/build/
/build/classes/java/main/
/.github/
/.idea/
/bin/
/.github/
18 changes: 4 additions & 14 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

apply plugin: 'application'
apply plugin: 'java'

group 'com.reandroid.apkeditor'
version '1.2.8'
Expand All @@ -22,10 +22,10 @@ repositories {

dependencies {
//implementation("io.github.reandroid:ARSCLib:+")
implementation(files("$rootProject.projectDir/libs/ARSCLib.jar"))
compile(files("$rootProject.projectDir/libs/ARSCLib.jar"))

// built from: https://github.com/REAndroid/smali-lib
implementation(files("$rootProject.projectDir/libs/smali.jar"))
compile(files("$rootProject.projectDir/libs/smali.jar"))
}

processResources {
Expand All @@ -42,17 +42,7 @@ jar {
duplicatesStrategy = DuplicatesStrategy.FAIL
}

application {
mainClass = 'com.reandroid.apkeditor.Main'
}

tasks.named('run') {
// run from root directory
// otherwise run from brut.apktool/apktool-cli
workingDir = file(System.getProperty('user.dir'))
}

tasks.register('fatJar', Jar) {
task fatJar(type: Jar) {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
manifest {
attributes(
Expand Down

0 comments on commit a377a73

Please sign in to comment.