Nicholas Chum | 702d467 | 2016-07-08 21:59:45 -0400 | [diff] [blame] | 1 | apply plugin: 'com.android.application' |
| 2 | |
| 3 | android { |
Nicholas Chum | 421c765 | 2017-02-14 00:56:09 -0500 | [diff] [blame] | 4 | compileSdkVersion 25 |
KreAch3R | a8b49f2 | 2017-02-20 16:22:01 +0200 | [diff] [blame] | 5 | buildToolsVersion "25.0.2" |
Nicholas Chum | 702d467 | 2016-07-08 21:59:45 -0400 | [diff] [blame] | 6 | |
| 7 | lintOptions { |
| 8 | checkReleaseBuilds false |
| 9 | abortOnError false |
| 10 | } |
| 11 | |
| 12 | applicationVariants.all { variant -> |
| 13 | variant.outputs.each { output -> |
| 14 | output.outputFile = new File( |
George G | e9e6979 | 2017-03-05 03:01:29 +0200 | [diff] [blame] | 15 | output.outputFile.parent, "themeinterfacer_" + versionCode + ".apk") |
Nicholas Chum | 702d467 | 2016-07-08 21:59:45 -0400 | [diff] [blame] | 16 | } |
| 17 | } |
| 18 | |
| 19 | defaultConfig { |
George G | e9e6979 | 2017-03-05 03:01:29 +0200 | [diff] [blame] | 20 | applicationId "projekt.interfacer" |
Nicholas Chum | 421c765 | 2017-02-14 00:56:09 -0500 | [diff] [blame] | 21 | minSdkVersion 25 |
| 22 | targetSdkVersion 25 |
Nicholas Chum | 421c765 | 2017-02-14 00:56:09 -0500 | [diff] [blame] | 23 | } |
| 24 | |
| 25 | defaultConfig { |
| 26 | jackOptions { |
| 27 | enabled true |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | compileOptions { |
| 32 | incremental true |
| 33 | sourceCompatibility JavaVersion.VERSION_1_8 |
| 34 | targetCompatibility JavaVersion.VERSION_1_8 |
| 35 | } |
| 36 | |
| 37 | dexOptions { |
| 38 | javaMaxHeapSize '2048m' |
Nicholas Chum | 702d467 | 2016-07-08 21:59:45 -0400 | [diff] [blame] | 39 | } |
Nicholas Chum | 57bc474 | 2016-07-12 00:05:21 -0400 | [diff] [blame] | 40 | |
Nicholas Chum | 702d467 | 2016-07-08 21:59:45 -0400 | [diff] [blame] | 41 | buildTypes { |
| 42 | debug { |
Nicholas Chum | 421c765 | 2017-02-14 00:56:09 -0500 | [diff] [blame] | 43 | minifyEnabled false |
Nicholas Chum | 702d467 | 2016-07-08 21:59:45 -0400 | [diff] [blame] | 44 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' |
| 45 | } |
| 46 | release { |
Nicholas Chum | 421c765 | 2017-02-14 00:56:09 -0500 | [diff] [blame] | 47 | minifyEnabled false |
Nicholas Chum | 702d467 | 2016-07-08 21:59:45 -0400 | [diff] [blame] | 48 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' |
| 49 | } |
| 50 | } |
Nicholas Chum | 67e9dcb | 2016-07-14 04:32:32 -0400 | [diff] [blame] | 51 | |
| 52 | dependencies { |
| 53 | testCompile 'junit:junit:4.12' |
| 54 | } |
KreAch3R | a8b49f2 | 2017-02-20 16:22:01 +0200 | [diff] [blame] | 55 | } |