OLD | NEW |
1 buildscript { | 1 buildscript { |
| 2 // buildscript block is evaluated at the very beginning. Properties defined
in the ext block |
| 3 // don't exist at that time. |
| 4 ext.kotlinVersion = '1.1.51' |
2 repositories { | 5 repositories { |
3 jcenter() | 6 jcenter() |
4 } | 7 } |
5 dependencies { | 8 dependencies { |
6 classpath 'com.android.tools.build:gradle:2.3.1' | 9 classpath 'com.android.tools.build:gradle:2.3.1' |
| 10 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" |
7 } | 11 } |
8 } | 12 } |
9 | 13 |
10 allprojects { | 14 allprojects { |
11 repositories { | 15 repositories { |
12 jcenter() | 16 jcenter() |
| 17 mavenCentral() |
13 } | 18 } |
14 } | 19 } |
15 | 20 |
16 ext { | 21 ext { |
17 minSdkVersion = 21 | 22 minSdkVersion = 21 |
18 targetSdkVersion = 25 | 23 targetSdkVersion = 25 |
19 compileSdkVersion = 25 | 24 compileSdkVersion = 25 |
20 buildToolsVersion = '25.0.3' | 25 buildToolsVersion = '25.0.3' |
21 androidSupportLibraryVersion = '25.3.1' | 26 androidSupportLibraryVersion = '25.3.1' |
22 sourceCompatibilityVersion = JavaVersion.VERSION_1_7 | 27 sourceCompatibilityVersion = JavaVersion.VERSION_1_7 |
23 targetCompatibilityVersion = JavaVersion.VERSION_1_7 | 28 targetCompatibilityVersion = JavaVersion.VERSION_1_7 |
24 easyListUpdateUrl = 'https://easylist-downloads.adblockplus.org/easylist.txt
' | 29 easyListUpdateUrl = 'https://easylist-downloads.adblockplus.org/easylist.txt
' |
25 exceptionRulesUpdateUrl = 'https://easylist-downloads.adblockplus.org/except
ionrules.txt' | 30 exceptionRulesUpdateUrl = 'https://easylist-downloads.adblockplus.org/except
ionrules.txt' |
26 easyListFilePath = file('adblockplussbrowser/res/raw/easylist.txt').absolute
Path | 31 easyListFilePath = file('adblockplussbrowser/res/raw/easylist.txt').absolute
Path |
27 exceptionRulesFilePath = file('adblockplussbrowser/res/raw/exceptionrules.tx
t').absolutePath | 32 exceptionRulesFilePath = file('adblockplussbrowser/res/raw/exceptionrules.tx
t').absolutePath |
28 } | 33 } |
OLD | NEW |