Left: | ||
Right: |
OLD | NEW |
---|---|
1 buildscript { | 1 buildscript { |
2 ext.kotlin_version = '1.1.51' | |
anton
2017/11/03 12:00:20
should not it be in the section below where the ot
jens
2017/11/03 12:45:54
Yeah, I wonder why it's not. Looks like Android St
diegocarloslima
2017/11/08 11:37:20
Minor thing, but for the other variables in ext, w
| |
2 repositories { | 3 repositories { |
3 jcenter() | 4 jcenter() |
4 } | 5 } |
5 dependencies { | 6 dependencies { |
6 classpath 'com.android.tools.build:gradle:2.3.1' | 7 classpath 'com.android.tools.build:gradle:2.3.1' |
8 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
7 } | 9 } |
8 } | 10 } |
9 | 11 |
10 allprojects { | 12 allprojects { |
11 repositories { | 13 repositories { |
12 jcenter() | 14 jcenter() |
15 mavenCentral() | |
13 } | 16 } |
14 } | 17 } |
15 | 18 |
16 ext { | 19 ext { |
17 minSdkVersion = 21 | 20 minSdkVersion = 21 |
18 targetSdkVersion = 25 | 21 targetSdkVersion = 25 |
19 compileSdkVersion = 25 | 22 compileSdkVersion = 25 |
20 buildToolsVersion = '25.0.3' | 23 buildToolsVersion = '25.0.3' |
21 androidSupportLibraryVersion = '25.3.1' | 24 androidSupportLibraryVersion = '25.3.1' |
22 sourceCompatibilityVersion = JavaVersion.VERSION_1_7 | 25 sourceCompatibilityVersion = JavaVersion.VERSION_1_7 |
23 targetCompatibilityVersion = JavaVersion.VERSION_1_7 | 26 targetCompatibilityVersion = JavaVersion.VERSION_1_7 |
24 easyListUpdateUrl = 'https://easylist-downloads.adblockplus.org/easylist.txt ' | 27 easyListUpdateUrl = 'https://easylist-downloads.adblockplus.org/easylist.txt ' |
25 exceptionRulesUpdateUrl = 'https://easylist-downloads.adblockplus.org/except ionrules.txt' | 28 exceptionRulesUpdateUrl = 'https://easylist-downloads.adblockplus.org/except ionrules.txt' |
26 easyListFilePath = file('adblockplussbrowser/res/raw/easylist.txt').absolute Path | 29 easyListFilePath = file('adblockplussbrowser/res/raw/easylist.txt').absolute Path |
27 exceptionRulesFilePath = file('adblockplussbrowser/res/raw/exceptionrules.tx t').absolutePath | 30 exceptionRulesFilePath = file('adblockplussbrowser/res/raw/exceptionrules.tx t').absolutePath |
28 } | 31 } |
OLD | NEW |