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 | 3 |
4 android { | 4 android { |
5 compileSdkVersion rootProject.ext.compileSdkVersion | 5 compileSdkVersion rootProject.ext.compileSdkVersion |
6 buildToolsVersion rootProject.ext.buildToolsVersion | 6 buildToolsVersion rootProject.ext.buildToolsVersion |
7 | 7 |
8 compileOptions { | 8 compileOptions { |
9 sourceCompatibility = rootProject.ext.sourceCompatibilityVersion | 9 sourceCompatibility = rootProject.ext.sourceCompatibilityVersion |
10 targetCompatibility = rootProject.ext.targetCompatibilityVersion | 10 targetCompatibility = rootProject.ext.targetCompatibilityVersion |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 def updateBundledLists() { | 47 def updateBundledLists() { |
48 new URL(rootProject.ext.easyListUpdateUrl).withInputStream { | 48 new URL(rootProject.ext.easyListUpdateUrl).withInputStream { |
49 i -> new File(rootProject.ext.easyListFilePath).withOutputStream { it <<
i } | 49 i -> new File(rootProject.ext.easyListFilePath).withOutputStream { it <<
i } |
50 } | 50 } |
51 new URL(rootProject.ext.exceptionRulesUpdateUrl).withInputStream { | 51 new URL(rootProject.ext.exceptionRulesUpdateUrl).withInputStream { |
52 i -> new File(rootProject.ext.exceptionRulesFilePath).withOutputStream {
it << i } | 52 i -> new File(rootProject.ext.exceptionRulesFilePath).withOutputStream {
it << i } |
53 } | 53 } |
54 } | 54 } |
55 | 55 |
56 dependencies { | 56 dependencies { |
57 testCompile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlinVersion" | 57 testImplementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlinVersion" |
58 compile "com.android.support:support-v4:$rootProject.ext.androidSupportLibra
ryVersion" | 58 implementation "com.android.support:support-v4:$rootProject.ext.androidSuppo
rtLibraryVersion" |
59 compile (group: 'commons-validator', name: 'commons-validator', version: '+'
) { | 59 implementation (group: 'commons-validator', name: 'commons-validator', versi
on: '+') { |
60 exclude group: 'commons-logging', module: 'commons-logging' | 60 exclude group: 'commons-logging', module: 'commons-logging' |
61 } | 61 } |
62 } | 62 } |
OLD | NEW |