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 @@ -96,7 +96,7 @@ dependencies {
96
96
implementation ' io.spring.nohttp:nohttp-gradle:0.0.10'
97
97
implementation ' net.sourceforge.htmlunit:htmlunit:2.37.0'
98
98
implementation ' org.hidetake:gradle-ssh-plugin:2.10.1'
99
- implementation ' org.jfrog.buildinfo:build-info-extractor-gradle:4.24.20 '
99
+ implementation ' org.jfrog.buildinfo:build-info-extractor-gradle:4.29.0 '
100
100
implementation ' org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.7.1'
101
101
102
102
testImplementation platform(' org.junit:junit-bom:5.8.2' )
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ package io.spring.gradle.convention
17
17
18
18
import org.gradle.api.Plugin
19
19
import org.gradle.api.Project
20
+ import org.gradle.api.publish.maven.plugins.MavenPublishPlugin
20
21
21
22
class ArtifactoryPlugin implements Plugin<Project > {
22
23
@@ -36,8 +37,14 @@ class ArtifactoryPlugin implements Plugin<Project> {
36
37
password = artifactoryPassword
37
38
}
38
39
}
39
- defaults {
40
- publications(' mavenJava' )
40
+ }
41
+ }
42
+ project. plugins. withType(MavenPublishPlugin ) {
43
+ project. artifactory {
44
+ publish {
45
+ defaults {
46
+ publications(' mavenJava' )
47
+ }
41
48
}
42
49
}
43
50
}
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ class RootProjectPlugin implements Plugin<Project> {
34
34
pluginManager. apply(NoHttpPlugin )
35
35
pluginManager. apply(SpringNexusPublishPlugin )
36
36
pluginManager. apply(CheckProhibitedDependenciesLifecyclePlugin )
37
+ pluginManager. apply(ArtifactoryPlugin )
37
38
pluginManager. apply(" org.sonarqube" )
38
39
39
40
project. repositories. mavenCentral()
You can’t perform that action at this time.
0 commit comments