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 {
6666 implementation ' io.spring.nohttp:nohttp-gradle:0.0.9'
6767 implementation ' net.sourceforge.htmlunit:htmlunit:2.37.0'
6868 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 '
7070 implementation ' org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.7.1'
7171
7272 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
1818
1919import org.gradle.api.Plugin
2020import org.gradle.api.Project
21+ import org.gradle.api.publish.maven.plugins.MavenPublishPlugin
2122
2223class ArtifactoryPlugin implements Plugin<Project > {
2324
@@ -37,8 +38,14 @@ class ArtifactoryPlugin implements Plugin<Project> {
3738 password = artifactoryPassword
3839 }
3940 }
40- defaults {
41- publications(' mavenJava' )
41+ }
42+ }
43+ project. plugins. withType(MavenPublishPlugin ) {
44+ project. artifactory {
45+ publish {
46+ defaults {
47+ publications(' mavenJava' )
48+ }
4249 }
4350 }
4451 }
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ class RootProjectPlugin implements Plugin<Project> {
3232 pluginManager. apply(SchemaPlugin )
3333 pluginManager. apply(NoHttpPlugin )
3434 pluginManager. apply(SpringNexusPublishPlugin )
35+ pluginManager. apply(ArtifactoryPlugin )
3536 pluginManager. apply(" org.sonarqube" )
3637
3738 project. repositories. mavenCentral()
You can’t perform that action at this time.
0 commit comments