Skip to content

Commit

Permalink
Excavator: Migrate publishing to gradle-external-publish-plugin (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot authored Mar 25, 2021
1 parent 2bcd1d9 commit b902f87
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 63 deletions.
5 changes: 2 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ buildscript {
}

dependencies {
classpath 'com.palantir.gradle.externalpublish:gradle-external-publish-plugin:0.4.0'
classpath 'com.palantir.javaformat:gradle-palantir-java-format:1.0.1'
classpath 'com.gradle.publish:plugin-publish-plugin:0.13.0'
classpath 'com.netflix.nebula:gradle-info-plugin:9.3.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.5'
classpath 'com.netflix.nebula:nebula-publishing-plugin:17.3.2'
classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:1.28.0'
classpath 'com.palantir.baseline:gradle-baseline-java:3.23.0'
classpath 'com.palantir.gradle.conjure:gradle-conjure:5.1.1'
Expand All @@ -23,6 +21,7 @@ buildscript {
}
}

apply plugin: 'com.palantir.external-publish'
apply plugin: 'com.palantir.baseline'
apply plugin: 'com.palantir.git-version'
apply plugin: 'com.palantir.consistent-versions'
Expand Down
2 changes: 1 addition & 1 deletion gradle-metric-schema/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.gradle.plugin-publish'
// java-gradle-plugin MUST be applied before publish-jar.gradle
apply plugin: 'java-gradle-plugin'
apply plugin: 'groovy'
apply from: "$rootDir/gradle/publish-jar.gradle"
apply plugin: 'com.palantir.external-publish-jar'

dependencies {
implementation project(':metric-schema-api:metric-schema-api-objects')
Expand Down
55 changes: 0 additions & 55 deletions gradle/publish-jar.gradle

This file was deleted.

2 changes: 1 addition & 1 deletion metric-schema-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ conjure {
}

configure(subprojects) {
apply from: "$rootDir/gradle/publish-jar.gradle"
apply plugin: 'com.palantir.external-publish-jar'
}
2 changes: 1 addition & 1 deletion metric-schema-java/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apply from: "$rootDir/gradle/publish-jar.gradle"
apply plugin: 'com.palantir.external-publish-jar'


sourceSets {
Expand Down
2 changes: 1 addition & 1 deletion metric-schema-lang/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apply from: "$rootDir/gradle/publish-jar.gradle"
apply plugin: 'com.palantir.external-publish-jar'

dependencies {
implementation project(':metric-schema-api:metric-schema-api-objects')
Expand Down
2 changes: 1 addition & 1 deletion metric-schema-markdown/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apply from: "$rootDir/gradle/publish-jar.gradle"
apply plugin: 'com.palantir.external-publish-jar'

dependencies {
api project(':metric-schema-api:metric-schema-api-objects')
Expand Down

0 comments on commit b902f87

Please sign in to comment.