|
1 | | -ext { |
2 | | - version = '3.0.3' |
3 | | - group = 'com.github.proxer' |
4 | | - |
5 | | - sourceCompatibility = 1.8 |
6 | | - targetCompatibility = 1.8 |
7 | | -} |
8 | | - |
9 | | -def jetbrainsAnnotationsVersion = '15.0' |
10 | | - |
11 | | -def retrofitVersion = '2.3.0' |
12 | | -def okHttpVersion = '3.8.1' |
13 | | -def moshiVersion = '1.5.0' |
14 | | - |
15 | | -def lombokVersion = '1.16.18' |
16 | | - |
17 | | -def junitVersion = '4.12' |
18 | | -def assertjVersion = '3.8.0' |
19 | | - |
20 | | -def privateConstructorVersion = '1.2.0' |
21 | | - |
22 | | -ext.deps = [ |
23 | | - jetbrainsAnnotations: "org.jetbrains:annotations:$jetbrainsAnnotationsVersion", |
24 | | - |
25 | | - retrofit : "com.squareup.retrofit2:retrofit:$retrofitVersion", |
26 | | - retrofitMoshi : "com.squareup.retrofit2:converter-moshi:$retrofitVersion", |
27 | | - okHttp : "com.squareup.okhttp3:okhttp:$okHttpVersion", |
28 | | - moshi : "com.squareup.moshi:moshi:$moshiVersion", |
29 | | - |
30 | | - lombok : "org.projectlombok:lombok:$lombokVersion", |
31 | | - |
32 | | - junit : "junit:junit:$junitVersion", |
33 | | - assertj : "org.assertj:assertj-core:$assertjVersion", |
34 | | - |
35 | | - mockwebserver : "com.squareup.okhttp3:mockwebserver:$okHttpVersion", |
36 | | - privateConstructor : "com.pushtorefresh.java-private-constructor-checker:checker:$privateConstructorVersion" |
37 | | -] |
38 | | - |
39 | 1 | buildscript { |
| 2 | + ext { |
| 3 | + version = '3.0.3' |
| 4 | + group = 'com.github.proxer' |
| 5 | + |
| 6 | + buildConfigPluginVersion = '1.1.8' |
| 7 | + freefairPluginsVersion = '1.0.0' |
| 8 | + |
| 9 | + lombokVersion = '1.16.18' |
| 10 | + jsr305Version = '3.0.2' |
| 11 | + |
| 12 | + retrofitVersion = '2.3.0' |
| 13 | + okHttpVersion = '3.8.1' |
| 14 | + moshiVersion = '1.5.0' |
| 15 | + |
| 16 | + junitVersion = '4.12' |
| 17 | + assertjVersion = '3.8.0' |
| 18 | + privateConstructorVersion = '1.2.0' |
| 19 | + |
| 20 | + deps = [ |
| 21 | + lombok : "org.projectlombok:lombok:$lombokVersion", |
| 22 | + jsr305 : "com.google.code.findbugs:jsr305:$jsr305Version", |
| 23 | + |
| 24 | + retrofit : "com.squareup.retrofit2:retrofit:$retrofitVersion", |
| 25 | + retrofitMoshi : "com.squareup.retrofit2:converter-moshi:$retrofitVersion", |
| 26 | + okHttp : "com.squareup.okhttp3:okhttp:$okHttpVersion", |
| 27 | + moshi : "com.squareup.moshi:moshi:$moshiVersion", |
| 28 | + |
| 29 | + junit : "junit:junit:$junitVersion", |
| 30 | + assertj : "org.assertj:assertj-core:$assertjVersion", |
| 31 | + mockwebserver : "com.squareup.okhttp3:mockwebserver:$okHttpVersion", |
| 32 | + privateConstructor: "com.pushtorefresh.java-private-constructor-checker:checker:$privateConstructorVersion" |
| 33 | + ] |
| 34 | + } |
| 35 | + |
40 | 36 | repositories { |
41 | 37 | maven { url 'https://plugins.gradle.org/m2/' } |
42 | 38 | } |
43 | 39 |
|
44 | 40 | dependencies { |
45 | | - classpath 'gradle.plugin.de.fuerstenau:BuildConfigPlugin:1.1.8' |
46 | | - classpath 'io.freefair.gradle:gradle-plugins:0.10.1' |
| 41 | + classpath "gradle.plugin.de.fuerstenau:BuildConfigPlugin:$buildConfigPluginVersion" |
| 42 | + classpath "io.freefair.gradle:gradle-plugins:$freefairPluginsVersion" |
47 | 43 | } |
48 | 44 | } |
49 | 45 |
|
50 | 46 | allprojects { |
51 | 47 | version = rootProject.ext.version |
52 | 48 | group = rootProject.ext.group |
53 | 49 |
|
54 | | - tasks.withType(JavaCompile) { |
55 | | - options.encoding = 'UTF-8' |
56 | | - } |
57 | | - |
58 | 50 | repositories { |
59 | 51 | jcenter() |
60 | 52 | } |
61 | 53 | } |
62 | 54 |
|
63 | 55 | task wrapper(type: Wrapper) { |
64 | | - gradleVersion = '4.1-milestone-1' |
| 56 | + gradleVersion = '4.1-rc-1' |
65 | 57 | } |
0 commit comments