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