Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
use compile scope for deps in public api (#316)
Gradle by default will publish these to the POM using runtime scope. This changes dependencies that are exposed via public APIs to get placed in the compile scope of the POM. Verified using: ``` $ ./gradlew spectator-reg-metrics3:generatePomFileForNebulaPublication $ diff before spectator-reg-metrics3/build/publications/nebula/pom-default.xml ``` Diff: ```diff 18c18 < <scope>runtime</scope> --- > <scope>compile</scope> 24c24 < <scope>runtime</scope> --- > <scope>compile</scope> 50c50 < <nebula_Build_Date>2016-09-01_05:33:46</nebula_Build_Date> --- > <nebula_Build_Date>2016-09-01_05:39:17</nebula_Build_Date> ```
- Loading branch information
1 parent
56f0b4c
commit 7176aa1
Showing
8 changed files
with
13 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
dependencies { | ||
compile project(":spectator-api") | ||
compile "com.amazonaws:aws-java-sdk-core" | ||
compileApi project(":spectator-api") | ||
compileApi "com.amazonaws:aws-java-sdk-core" | ||
testCompile "com.amazonaws:aws-java-sdk-cloudwatch" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
dependencies { | ||
compile project(':spectator-api') | ||
compileApi project(':spectator-api') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
dependencies { | ||
compile project(':spectator-api') | ||
compileApi project(':spectator-api') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
dependencies { | ||
compile project(':spectator-api') | ||
compile "org.apache.logging.log4j:log4j-api" | ||
compile "org.apache.logging.log4j:log4j-core" | ||
compileApi project(':spectator-api') | ||
compileApi "org.apache.logging.log4j:log4j-api" | ||
compileApi "org.apache.logging.log4j:log4j-core" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
dependencies { | ||
compile project(':spectator-api') | ||
compileApi project(':spectator-api') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
dependencies { | ||
compile project(':spectator-api') | ||
compile 'io.dropwizard.metrics:metrics-core:3.1.2' | ||
compileApi project(':spectator-api') | ||
compileApi 'io.dropwizard.metrics:metrics-core:3.1.2' | ||
jmh project(':spectator-api') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
dependencies { | ||
compile project(':spectator-api') | ||
compile 'com.netflix.servo:servo-core' | ||
compileApi project(':spectator-api') | ||
compileApi 'com.netflix.servo:servo-core' | ||
jmh project(':spectator-api') | ||
} |