File tree Expand file tree Collapse file tree 1 file changed +21
-10
lines changed
Expand file tree Collapse file tree 1 file changed +21
-10
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,24 @@ defaultTasks 'build'
44ext {
55}
66
7+ buildscript {
8+ ext {
9+ uptodateVersion = " 1.3.1"
10+ retrolambdaVersion = " 2.5.0"
11+ }
12+
13+ repositories {
14+ mavenLocal()
15+ jcenter()
16+ mavenCentral()
17+ }
18+
19+ dependencies {
20+ classpath " com.ofg:uptodate-gradle-plugin:$uptodateVersion "
21+ classpath " me.tatarka:gradle-retrolambda:$retrolambdaVersion "
22+ }
23+ }
24+
725if (JavaVersion . current(). isJava8Compatible()) {
826 allprojects {
927 tasks. withType(Javadoc ) {
@@ -52,21 +70,14 @@ allprojects {
5270
5371subprojects {
5472
55- buildscript {
56- repositories {
57- mavenCentral()
58- }
59-
60- dependencies {
61- classpath ' me.tatarka:gradle-retrolambda:2.5.0'
62- }
63- }
64-
6573 apply from : " $rootDir /lib.gradle"
6674 apply plugin : " java"
6775 apply plugin : " eclipse"
76+ apply plugin : " com.ofg.uptodate"
6877
6978 repositories {
79+ mavenLocal()
80+ jcenter()
7081 mavenCentral()
7182 maven {
7283 url sonatypeRepositoryUrl
You can’t perform that action at this time.
0 commit comments