File tree Expand file tree Collapse file tree 15 files changed +48
-55
lines changed Expand file tree Collapse file tree 15 files changed +48
-55
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ dependencies {
15
15
}
16
16
compile(" org.slf4j:slf4j-api:${ VER_SLF4J} " )
17
17
18
- testCompile (" org.slf4j:slf4j-simple:${ VER_SLF4J} " )
18
+ testImplementation (" org.slf4j:slf4j-simple:${ VER_SLF4J} " )
19
19
}
20
20
21
21
jar {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ dependencies {
26
26
// Required to by CCorePlugin calling PositionTrackerManager
27
27
compile " org.eclipse.platform:org.eclipse.core.filebuffers:${ VER_ECLISPE_PLATFORM} "
28
28
29
- testCompile (" org.slf4j:slf4j-simple:${ VER_SLF4J} " )
29
+ testImplementation (" org.slf4j:slf4j-simple:${ VER_SLF4J} " )
30
30
}
31
31
32
32
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ dependencies {
37
37
compile (" org.eclipse.platform:org.eclipse.jface.text:${ VER_ECLISPE_JFACE} " ) {
38
38
exclude group : ' org.eclipse.platform' , module : ' org.eclipse.swt'
39
39
}
40
- testCompile (" org.slf4j:slf4j-simple:${ VER_SLF4J} " )
40
+ testImplementation (" org.slf4j:slf4j-simple:${ VER_SLF4J} " )
41
41
}
42
42
43
43
// ////////
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ dependencies {
73
73
// Required by org.eclipse.wst.xsd.core
74
74
compile " org.eclipse.xsd:org.eclipse.xsd:${ VER_ECLISPE_XSD} "
75
75
76
- testCompile (" org.slf4j:slf4j-simple:${ VER_SLF4J} " )
76
+ testImplementation (" org.slf4j:slf4j-simple:${ VER_SLF4J} " )
77
77
}
78
78
79
79
jar {
Original file line number Diff line number Diff line change @@ -73,6 +73,6 @@ dependencies {
73
73
compileOnly ' com.google.code.findbugs:annotations:3.0.0'
74
74
compileOnly ' com.google.code.findbugs:jsr305:3.0.0'
75
75
76
- testCompile ' junit:junit:4.12'
77
- testCompile ' org.assertj:assertj-core:3.5.2'
76
+ testImplementation ' junit:junit:4.12'
77
+ testImplementation ' org.assertj:assertj-core:3.5.2'
78
78
}
Original file line number Diff line number Diff line change @@ -8,9 +8,10 @@ buildscript {
8
8
classpath " com.diffplug.gradle:goomph:${ VER_GOOMPH} "
9
9
classpath " com.jfrog.bintray.gradle:gradle-bintray-plugin:${ VER_BINTRAY} "
10
10
classpath " com.gradle.publish:plugin-publish-plugin:${ VER_PLUGIN_PUBLISH} "
11
- classpath " org.ajoberstar:gradle-git:${ VER_GRADLE_GIT} "
11
+ classpath " org.ajoberstar:gradle-git-publish :${ VER_GRADLE_GIT} "
12
12
classpath " ch.raffael.pegdown-doclet:pegdown-doclet:${ VER_PEGDOWN_DOCLET} "
13
13
classpath " gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin:${ VER_SPOTBUGS_PLUGIN} "
14
+ classpath " com.google.guava:guava:27.1-jre" // Force newer version for spotbugs
14
15
classpath " com.gradle:build-scan-plugin:${ VER_BUILDSCAN_PLUGIN} "
15
16
}
16
17
}
Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ artifactIdGradle=spotless-plugin-gradle
22
22
# Build requirements
23
23
VER_JAVA =1.8
24
24
VER_SPOTBUGS =3.1.6
25
- VER_SPOTBUGS_PLUGIN =1.6.2
25
+ VER_SPOTBUGS_PLUGIN =2.0.0
26
26
VER_BINTRAY =1.7.3
27
27
VER_PLUGIN_PUBLISH =0.9.7
28
28
VER_GOOMPH =3.17.4
29
- VER_GRADLE_GIT =1.7.2
29
+ VER_GRADLE_GIT =2.1.1
30
30
VER_PEGDOWN_DOCLET =1.3
31
- VER_BUILDSCAN_PLUGIN =1.16
31
+ VER_BUILDSCAN_PLUGIN =2.0.2
32
32
33
33
# Used in multiple places
34
34
VER_DURIAN =1.2.0
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-5.5.1-all.zip
3
4
zipStoreBase =GRADLE_USER_HOME
4
5
zipStorePath =wrapper/dists
5
- distributionUrl =https\://services.gradle.org/distributions/gradle-4.6-bin.zip
Original file line number Diff line number Diff line change 1
- def cred = {
2
- if (System . env[it] != null ) {
3
- return System . env[it]
4
- } else if (project. hasProperty(it)) {
5
- return project[it]
6
- } else {
7
- return ' unknown_' + it
8
- }
9
- }
10
-
11
- apply plugin : ' org.ajoberstar.github-pages'
12
- githubPages {
1
+ // https://github.com/ajoberstar/gradle-git-publish
2
+ apply plugin : ' org.ajoberstar.git-publish'
3
+ gitPublish {
13
4
repoUri = ' https://github.com/diffplug/spotless'
14
- deleteExistingFiles = false
15
- pages {
5
+ branch = ' gh-pages'
6
+ preserve { include ' **/*' }
7
+ contents {
16
8
from ' build/javadoc/'
17
9
into ' javadoc/'
18
10
}
19
- credentials {
20
- username = cred(' gh_token' )
21
- password = ' '
22
- }
11
+
12
+ // Credentials
13
+ // GRGIT_USER environment variable or org.ajoberstar.grgit.auth.username system property.
23
14
}
24
- tasks. prepareGhPages . dependsOn(" :lib:javadoc" )
25
- tasks. prepareGhPages . dependsOn(" :lib-extra:javadoc" )
26
- tasks. prepareGhPages . dependsOn(" :plugin-gradle:javadoc" )
27
- tasks. prepareGhPages . dependsOn(" :plugin-maven:javadoc" )
15
+ tasks. gitPublishCopy . dependsOn(" :lib:javadoc" )
16
+ tasks. gitPublishCopy . dependsOn(" :lib-extra:javadoc" )
17
+ tasks. gitPublishCopy . dependsOn(" :plugin-gradle:javadoc" )
18
+ tasks. gitPublishCopy . dependsOn(" :plugin-maven:javadoc" )
You can’t perform that action at this time.
0 commit comments