Skip to content

Commit

Permalink
Update to Gradle 2.10 and the newest experimental plugin-- Fixes buil…
Browse files Browse the repository at this point in the history
…ding on F-Droid
  • Loading branch information
jp-bennett committed Feb 3, 2016
1 parent 34d3560 commit ebf183a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 2 additions & 0 deletions app/app.iml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,14 @@
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.journeyapps/zxing-android-embedded/3.0.1/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.sonelli/juicessh-pluginlibrary/1.0.13/jars" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/instant-run-support" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/jniLibs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/manifests" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/ndk" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/objectFiles" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/pre-dexed" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/restart-dex" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/transforms" />
Expand Down
11 changes: 7 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ model {
compileSdkVersion = 23
buildToolsVersion = '23.0.2'
packagingOptions.excludes = ['META-INF/DEPENDENCIES.txt','META-INF/LICENSE.txt', 'META-INF/NOTICE.txt']
sources.main {
jni.source.srcDirs = ['src/main/jni']
jniLibs.source.srcDirs = ['src/main/jni/libfko']
}

defaultConfig.with {
applicationId = "org.cipherdyne.fwknop2"
minSdkVersion.apiLevel = 15
Expand All @@ -22,6 +19,12 @@ model {
versionName = "1.2.1"
}
}
android.sources {
main {
jni.source.srcDirs = ['src/main/jni']
jniLibs.source.srcDirs = ['src/main/jni/libfko']
}
}
android.buildTypes {
release {
minifyEnabled = false
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle-experimental:0.4.0'
classpath 'com.android.tools.build:gradle-experimental:0.6.0-alpha5'
classpath 'org.ajoberstar:gradle-git:1.1.0'

// NOTE: Do not place your application dependencies here; they belong
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip

0 comments on commit ebf183a

Please sign in to comment.