Skip to content

Commit

Permalink
Restructure project
Browse files Browse the repository at this point in the history
  • Loading branch information
Jawnnypoo committed Jul 27, 2017
1 parent 91e5217 commit 1cd2dbc
Show file tree
Hide file tree
Showing 742 changed files with 142 additions and 162 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,9 @@ local.properties
gradlew
gradlew.bat
.project
AmazeFileManager.iml
libs/libs.iml
.idea/
gradle.properties
projectFilesBackup
captures
*.iml

1 change: 1 addition & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
132 changes: 132 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 25
buildToolsVersion '25.0.3'

packagingOptions {
exclude 'proguard-project.txt'
exclude 'project.properties'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/DEPENDENCIES.txt'
exclude 'META-INF/DEPENDENCIES'
}

defaultConfig {
applicationId "com.amaze.filemanager"
minSdkVersion 14
targetSdkVersion 25
versionCode 61
versionName "3.1.2 RC4"

vectorDrawables.useSupportLibrary = true;
}

signingConfigs {
release
config
}
buildTypes {
debug {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard.cfg'
}

release {
signingConfig signingConfigs.release

minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard.cfg'
}
}
lintOptions {
abortOnError false
}

productFlavors {
fdroid {
buildConfigField "boolean", "IS_VERSION_FDROID", "true"
}
play {
buildConfigField "boolean", "IS_VERSION_FDROID", "false"
signingConfig signingConfigs.config
}
}
}

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.readystatesoftware.systembartint:systembartint:1.0.3'

compile 'com.android.support:design:25.3.1'
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:palette-v7:25.3.1'
compile 'com.android.support:cardview-v7:25.3.1'

compile 'org.apache.commons:commons-compress:1.10'

// Google Play Services
playCompile 'com.google.android.gms:play-services-plus:10.2.6'

compile 'com.github.clans:fab:1.6.4'
compile 'com.github.junrar:junrar:0.7'
compile 'com.afollestad.material-dialogs:core:0.9.4.3'

//FTP Server
/*
compile 'org.apache.mina:mina-core:2.0.13'
compile 'org.apache.ftpserver:ftpserver-core:1.0.6'
compile 'org.apache.ftpserver:ftplet-api:1.0.6'
*/

// https://mvnrepository.com/artifact/org.apache.mina/mina-core
compile group: 'org.apache.mina', name: 'mina-core', version: '2.0.13'
// https://mvnrepository.com/artifact/org.slf4j/slf4j-api
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.21'
// https://mvnrepository.com/artifact/org.slf4j/slf4j-simple
compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.21'

//compile files('libs/ftplet-api-1.1.0-SNAPSHOT.jar')
// https://mvnrepository.com/artifact/org.apache.ftpserver/ftplet-api
compile group: 'org.apache.ftpserver', name: 'ftplet-api', version: '1.1.0'

//compile files('libs/ftpserver-core-1.1.0-SNAPSHOT.jar')
// https://mvnrepository.com/artifact/org.apache.ftpserver/ftpserver-core
compile group: 'org.apache.ftpserver', name: 'ftpserver-core', version: '1.1.0'

//compile 'com.jcraft:jsch:0.1.53'
compile 'com.android.volley:volley:1.0.0'

compile 'eu.chainfire:libsuperuser:1.0.0.+'

compile 'com.cloudrail:cloudrail-si-android:2.17.0'

compile 'com.github.PhilJay:MPAndroidChart:v3.0.2'//Nice charts and graphs
}

def Properties props = new Properties()
def propFile = new File('signing.properties')

if (propFile.canRead()) {
props.load(new FileInputStream(propFile))

if (props != null &&
props.containsKey('STORE_FILE') &&
props.containsKey('STORE_PASSWORD') &&
props.containsKey('KEY_ALIAS') &&
props.containsKey('KEY_PASSWORD')) {
android.signingConfigs.release.storeFile = file(props['STORE_FILE'])
android.signingConfigs.release.storePassword = props['STORE_PASSWORD']
android.signingConfigs.release.keyAlias = props['KEY_ALIAS']
android.signingConfigs.release.keyPassword = props['KEY_PASSWORD']
} else {
println 'signing.properties found but some entries are missing'
android.buildTypes.release.signingConfig = null
}
} else {
println 'signing.properties not found'
android.buildTypes.release.signingConfig = null
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
Loading

0 comments on commit 1cd2dbc

Please sign in to comment.