File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
src/main/groovy/io/spring/gradle/convention Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ dependencies {
66
66
implementation ' io.spring.nohttp:nohttp-gradle:0.0.9'
67
67
implementation ' net.sourceforge.htmlunit:htmlunit:2.55.0'
68
68
implementation ' org.hidetake:gradle-ssh-plugin:2.10.1'
69
- implementation ' org.jfrog.buildinfo:build-info-extractor-gradle:4.24.20 '
69
+ implementation ' org.jfrog.buildinfo:build-info-extractor-gradle:4.29.0 '
70
70
implementation ' org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.7.1'
71
71
72
72
testImplementation platform(' org.junit:junit-bom:5.8.1' )
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ package io.spring.gradle.convention
18
18
19
19
import org.gradle.api.Plugin
20
20
import org.gradle.api.Project
21
+ import org.gradle.api.publish.maven.plugins.MavenPublishPlugin
21
22
22
23
class ArtifactoryPlugin implements Plugin<Project > {
23
24
@@ -37,8 +38,14 @@ class ArtifactoryPlugin implements Plugin<Project> {
37
38
password = artifactoryPassword
38
39
}
39
40
}
40
- defaults {
41
- publications(' mavenJava' )
41
+ }
42
+ }
43
+ project. plugins. withType(MavenPublishPlugin ) {
44
+ project. artifactory {
45
+ publish {
46
+ defaults {
47
+ publications(' mavenJava' )
48
+ }
42
49
}
43
50
}
44
51
}
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ class RootProjectPlugin implements Plugin<Project> {
32
32
pluginManager. apply(SchemaPlugin )
33
33
pluginManager. apply(NoHttpPlugin )
34
34
pluginManager. apply(SpringNexusPublishPlugin )
35
+ pluginManager. apply(ArtifactoryPlugin )
35
36
pluginManager. apply(" org.sonarqube" )
36
37
37
38
project. repositories. mavenCentral()
You can’t perform that action at this time.
0 commit comments