Skip to content

Commit

Permalink
Made IPtProxy a module, only ship app with one AAR file
Browse files Browse the repository at this point in the history
  • Loading branch information
bitmold committed Nov 12, 2020
1 parent 4a39df4 commit a5a146c
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 28 deletions.
File renamed without changes.
2 changes: 2 additions & 0 deletions IPtProxy/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
configurations.maybeCreate("default")
artifacts.add("default", file('IPtProxy.aar'))
18 changes: 0 additions & 18 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,6 @@ android {
versionName getVersionName()
archivesBaseName = "Orbot-$versionName"
}
/**
appmax {
dimension "free"
minSdkVersion 16
applicationId 'org.torproject.android.max'
targetSdkVersion 28
versionCode 161410000
versionName getVersionName()
archivesBaseName = "orbotMAX-$versionName"
}**/
}

splits {
Expand All @@ -113,14 +103,6 @@ android {
// Specifies that we do not want to also generate a universal APK that includes all ABIs.
universalApk true
}


}

repositories {
flatDir {
dir 'libs'
}
}
}

Expand Down
11 changes: 1 addition & 10 deletions orbotservice/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@ android {
packagingOptions {
exclude 'assets/arm/obfs4proxy' //this is redundant
}

repositories {
flatDir {
dir 'libs'
}
}


}

dependencies {
Expand All @@ -69,6 +61,5 @@ dependencies {
implementation 'info.guardianproject:jtorctl:0.4'

/*********** IPtProxy: https://github.com/tladesignz/IPtProxy **********/
implementation(name: 'IPtProxy', ext: 'aar')

implementation project(path: ':IPtProxy')
}
Binary file removed orbotservice/libs/IPtProxy.aar
Binary file not shown.
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include ':IPtProxy'
include ':intentintegrator'
include ':appcore'
include ':orbotservice',':app',':app-mini'

0 comments on commit a5a146c

Please sign in to comment.