Skip to content

Commit

Permalink
add application plugin to the apktool-cli (#3070)
Browse files Browse the repository at this point in the history
  • Loading branch information
sv99 authored May 20, 2023
1 parent fb4889f commit 80dcdd1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
21 changes: 14 additions & 7 deletions brut.apktool/apktool-cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@
*/
import proguard.gradle.ProGuardTask

apply plugin: 'com.github.johnrengelman.shadow'

dependencies {
implementation depends.commons_cli
implementation project(':brut.apktool:apktool-lib')
}

buildscript {
dependencies {
repositories {
Expand All @@ -35,6 +28,20 @@ buildscript {
}
}

plugins {
id 'com.github.johnrengelman.shadow'
id 'application'
}

dependencies {
implementation depends.commons_cli
implementation project(':brut.apktool:apktool-lib')
}

application {
mainClass = 'brut.apktool.Main'
}

jar {
manifest {
attributes 'Main-Class': 'brut.apktool.Main'
Expand Down
3 changes: 2 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
rootProject.name = 'apktool-cli'
include 'brut.j.common',
'brut.j.util',
'brut.j.dir',
'brut.apktool:apktool-lib',
'brut.apktool:apktool-cli'
'brut.apktool:apktool-cli'

0 comments on commit 80dcdd1

Please sign in to comment.