Skip to content

Commit f10dcd8

Browse files
authored
Fix incorrect pom generation from OOTB gradle by using nebula-publishing-plugin. (#77)
1 parent 1926931 commit f10dcd8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

build.gradle

+5-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ buildscript {
66
dependencies {
77
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:3.1.1"
88
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.3'
9+
classpath "com.netflix.nebula:nebula-publishing-plugin:4.10.0"
910
}
1011
}
1112

@@ -17,6 +18,7 @@ apply plugin: 'com.github.johnrengelman.shadow'
1718
apply plugin: 'checkstyle'
1819
apply plugin: 'jacoco'
1920
apply plugin: 'eclipse'
21+
apply plugin: "nebula.compile-api"
2022

2123
apply from: "$rootDir/gradle/additional-artifacts.gradle"
2224
apply from: "$rootDir/gradle/dependencies.gradle"
@@ -30,9 +32,9 @@ repositories {
3032
}
3133

3234
dependencies {
33-
compile ('org.apache.jclouds:jclouds-core:2.0.1')
34-
compile ('com.google.auto.service:auto-service:1.0-rc3')
35-
compile ('com.google.auto.value:auto-value:1.4.1')
35+
compileApi ('org.apache.jclouds:jclouds-core:2.0.1')
36+
compileApi ('com.google.auto.service:auto-service:1.0-rc3')
37+
compileApi ('com.google.auto.value:auto-value:1.4.1')
3638

3739
testCompile ('org.apache.jclouds:jclouds-core:2.0.1:tests')
3840
testCompile ('org.testng:testng:6.11')

0 commit comments

Comments
 (0)