| OLD | NEW |
| 1 apply plugin: 'com.android.application' | 1 apply plugin: 'com.android.application' |
| 2 apply plugin: 'kotlin-android' | 2 apply plugin: 'kotlin-android' |
| 3 apply plugin: 'kotlin-android-extensions' |
| 3 | 4 |
| 4 android { | 5 android { |
| 5 compileSdkVersion rootProject.ext.compileSdkVersion | 6 compileSdkVersion rootProject.ext.compileSdkVersion |
| 6 buildToolsVersion rootProject.ext.buildToolsVersion | 7 buildToolsVersion rootProject.ext.buildToolsVersion |
| 7 | 8 |
| 8 compileOptions { | 9 compileOptions { |
| 9 sourceCompatibility = rootProject.ext.sourceCompatibilityVersion | 10 sourceCompatibility = rootProject.ext.sourceCompatibilityVersion |
| 10 targetCompatibility = rootProject.ext.targetCompatibilityVersion | 11 targetCompatibility = rootProject.ext.targetCompatibilityVersion |
| 11 } | 12 } |
| 12 | 13 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 i -> new File(rootProject.ext.easyListFilePath).withOutputStream { it <<
i } | 56 i -> new File(rootProject.ext.easyListFilePath).withOutputStream { it <<
i } |
| 56 } | 57 } |
| 57 new URL(rootProject.ext.exceptionRulesUpdateUrl).withInputStream { | 58 new URL(rootProject.ext.exceptionRulesUpdateUrl).withInputStream { |
| 58 i -> new File(rootProject.ext.exceptionRulesFilePath).withOutputStream {
it << i } | 59 i -> new File(rootProject.ext.exceptionRulesFilePath).withOutputStream {
it << i } |
| 59 } | 60 } |
| 60 } | 61 } |
| 61 | 62 |
| 62 dependencies { | 63 dependencies { |
| 63 testImplementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlinVersion" | 64 testImplementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlinVersion" |
| 64 testImplementation 'junit:junit:4.12' | 65 testImplementation 'junit:junit:4.12' |
| 65 testImplementation 'org.mockito:mockito-core:2.11.0' | 66 testImplementation 'org.mockito:mockito-core:2.16.0' |
| 66 testImplementation 'org.robolectric:robolectric:3.5.1' | 67 testImplementation 'org.robolectric:robolectric:3.8' |
| 67 implementation "com.android.support:support-v4:$rootProject.ext.androidSuppo
rtLibraryVersion" | 68 implementation "com.android.support:support-v4:$rootProject.ext.androidSuppo
rtLibraryVersion" |
| 68 implementation (group: 'commons-validator', name: 'commons-validator', versi
on: '+') { | 69 implementation (group: 'commons-validator', name: 'commons-validator', versi
on: '1.6') { |
| 69 exclude group: 'commons-logging', module: 'commons-logging' | 70 exclude group: 'commons-logging', module: 'commons-logging' |
| 70 } | 71 } |
| 71 } | 72 } |
| OLD | NEW |