6 classpath 'com.android.tools.build:gradle:1.2.3'
10 apply plugin: 'com.android.application'
19 compile 'com.android.support:appcompat-v7:22.2.1'
20 // Note: you can just replace "smallicu" by compile
21 // and remove the "compile files" part if you do not
22 // care about the size of the apk
23 smallicu 'com.ibm.icu:icu4j:55.1'
24 compile files("$buildDir/icu4j-55.1.small.jar") {
25 builtBy 'makesmallicu'
29 task makesmallicu (type:Exec, dependsOn: configurations.smallicu) {
30 inputs.file "mksmallicu.sh"
31 inputs.file "${configurations.smallicu.resolve()[0]}"
32 outputs.dir "$buildDir"
33 outputs.file "$buildDir/icu4j-55.1.small.jar"
34 new File("$buildDir").mkdirs()
35 commandLine "./mksmallicu.sh", "${configurations.smallicu.resolve()[0]}", "$buildDir/icu4j-55.1.small.jar"
40 buildToolsVersion "23.0.1"
43 applicationIdSuffix ".debug"
52 manifest.srcFile 'AndroidManifest.xml'
53 java.srcDirs = ['src', '../Util/src']
55 assets.srcDirs = ['assets']
58 // Move the tests to tests/java, tests/res, etc...
59 instrumentTest.setRoot('tests')
61 // Move the build types to build-types/<type>
62 // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
63 // This moves them out of them default location under src/<type>/... which would
64 // conflict with src/ being used by the main source set.
65 // Adding new build types or product flavors should be accompanied
66 // by a similar customization.
67 debug.setRoot('build-types/debug')
68 release.setRoot('build-types/release')
71 applicationId 'de.reimardoeffinger.quickdic'