Skip to content

Commit

Permalink
Changed SrcDirs to SourceFiles and other things to try and fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfern committed Sep 18, 2018
1 parent 91e3dc8 commit 01f49ec
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions CommonCode/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,16 @@ android {
}
buildTypes {
release {
debuggable true
ndk {
abiFilters "armeabi-v7a"
}

minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
debuggable true
ndk {
abiFilters "armeabi-v7a"
}

minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
useProguard false
}
}
compileOptions {
Expand Down Expand Up @@ -57,7 +52,7 @@ task sourcesJar(type: Jar) {

task javadoc(type: Javadoc) {
failOnError false
source = android.sourceSets.main.java.srcDirs
source = android.sourceSets.main.java.sourceFiles
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
classpath += configurations.compile
}
Expand Down

0 comments on commit 01f49ec

Please sign in to comment.