Skip to content

Commit

Permalink
Merge pull request #9 from yourealwaysbe/master
Browse files Browse the repository at this point in the history
added support for gradle.properties to specify util library location
  • Loading branch information
rdoeffinger committed Dec 2, 2015
2 parents 153ce2e + 46070f6 commit f62b260
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ task makesmallicu (type:Exec, dependsOn: configurations.smallicu) {
commandLine "./mksmallicu.sh", "${configurations.smallicu.resolve()[0]}", "$buildDir/icu4j-55.1.small.jar"
}

def utildir = hasProperty("quickdicUtilDir") ? quickdicUtilDir : "../Util"

android {
compileSdkVersion 22
buildToolsVersion "23.0.1"
Expand All @@ -51,7 +53,7 @@ android {
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src', '../Util/src']
java.srcDirs = ['src', utildir + "/src"]
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
Expand Down

0 comments on commit f62b260

Please sign in to comment.