Skip to content

Commit

Permalink
Moved commons-compress 7z support package to separate Android module
Browse files Browse the repository at this point in the history
  • Loading branch information
TranceLove committed Mar 3, 2019
1 parent 95152c7 commit f002016
Show file tree
Hide file tree
Showing 27 changed files with 33 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ dependencies {

implementation 'org.tukaani:xz:1.8'

implementation project(':commons_compress_7z')
}

configurations.all {
Expand Down
1 change: 1 addition & 0 deletions commons_compress_7z/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
28 changes: 28 additions & 0 deletions commons_compress_7z/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 28

defaultConfig {
minSdkVersion 14
targetSdkVersion 28
versionCode 1
versionName "1.0.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

}

buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard.cfg'
}
}

}

dependencies {
implementation 'org.apache.commons:commons-compress:1.18'
implementation 'org.tukaani:xz:1.8'
}
2 changes: 2 additions & 0 deletions commons_compress_7z/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.amaze.filemanager.filesystem.compressed.sevenz" />
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include ':app'
include ':app', ':commons_compress_7z'

0 comments on commit f002016

Please sign in to comment.