Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
Ensure plugin-api module gets published at the correct maven path (#1905
Browse files Browse the repository at this point in the history
)

* Ensure `plugin-api` module gets published at the correct maven path
* Move `plugins` to `plugin-api`

Signed-off-by: Edward Evans <[email protected]>
  • Loading branch information
Edward authored Sep 5, 2019
1 parent 6dbe1bc commit 513b055
Show file tree
Hide file tree
Showing 42 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion acceptance-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies {
testImplementation project(':metrics:core')
testImplementation project(':pantheon')
testImplementation project(path: ':pantheon', configuration: 'testArtifacts')
testImplementation project(':plugins')
testImplementation project(':plugin-api')
testImplementation project(':services:kvstore')
testImplementation project(':testutil')
testImplementation project(':util')
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ allprojects {
task deploy() {}

tasks.register('checkPluginAPIChanges', DefaultTask) { }
checkPluginAPIChanges.dependsOn(':plugins:checkAPIChanges')
checkPluginAPIChanges.dependsOn(':plugin-api:checkAPIChanges')
check.dependsOn('checkPluginAPIChanges')

subprojects {
Expand Down
2 changes: 1 addition & 1 deletion consensus/common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jar {
}

dependencies {
api project(':plugins')
api project(':plugin-api')

implementation project(':ethereum:core')
implementation project(':ethereum:jsonrpc')
Expand Down
2 changes: 1 addition & 1 deletion crypto/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jar {
}

dependencies {
api project(':plugins')
api project(':plugin-api')
api project(':util')

api 'org.bouncycastle:bcprov-jdk15on'
Expand Down
2 changes: 1 addition & 1 deletion ethereum/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies {
implementation project(':ethereum:rlp')
implementation project(':ethereum:trie')
implementation project(':metrics:core')
implementation project(':plugins')
implementation project(':plugin-api')
implementation project(':services:kvstore')

implementation 'com.fasterxml.jackson.core:jackson-databind'
Expand Down
2 changes: 1 addition & 1 deletion ethereum/mock-p2p/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jar {
}

dependencies {
api project(':plugins')
api project(':plugin-api')

implementation project(':ethereum:p2p')
implementation project(':ethereum:permissioning')
Expand Down
2 changes: 1 addition & 1 deletion ethereum/rlp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jar {
}

dependencies {
api project(':plugins')
api project(':plugin-api')
api project(':util')

implementation 'com.google.guava:guava'
Expand Down
2 changes: 1 addition & 1 deletion metrics/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ publishing {


dependencies {
implementation project(':plugins')
implementation project(':plugin-api')

implementation 'com.google.guava:guava'
implementation 'io.prometheus:simpleclient'
Expand Down
2 changes: 1 addition & 1 deletion metrics/rocksdb/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jar {

dependencies {
implementation project(':metrics:core')
implementation project(':plugins')
implementation project(':plugin-api')
implementation project(':services:util')

implementation 'com.google.guava:guava'
Expand Down
2 changes: 1 addition & 1 deletion pantheon/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ dependencies {
implementation project(':ethereum:rlp')
implementation project(':metrics:core')
implementation project(':nat')
implementation project(':plugins')
implementation project(':plugin-api')
implementation project(':services:kvstore')

implementation 'com.fasterxml.jackson.core:jackson-databind'
Expand Down
2 changes: 1 addition & 1 deletion plugins/build.gradle → plugin-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ check.dependsOn('checkAPIChanges')
publishing {
publications {
mavenJava(MavenPublication) {
groupId 'tech.pegasys.pantheon.plugin-api'
groupId 'tech.pegasys.pantheon'
pom {
name = 'Pantheon Plugins Library'
description = 'Core Plugins Libraries for Pantheon'
Expand Down
2 changes: 1 addition & 1 deletion services/kvstore/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jar {
}

dependencies {
api project(':plugins')
api project(':plugin-api')
api project(':util')

implementation project(':metrics:core')
Expand Down
2 changes: 1 addition & 1 deletion services/pipeline/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jar {
dependencies {
api project(':util')
implementation project(':metrics:core')
implementation project(':plugins')
implementation project(':plugin-api')

implementation 'org.apache.logging.log4j:log4j-api'
implementation 'com.google.guava:guava'
Expand Down
2 changes: 1 addition & 1 deletion services/tasks/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jar {
}

dependencies {
api project(':plugins')
api project(':plugin-api')
api project(':util')

compileOnly 'org.openjdk.jmh:jmh-generator-annprocess'
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ include 'metrics:core'
include 'metrics:rocksdb'
include 'nat'
include 'pantheon'
include 'plugins'
include 'plugin-api'
include 'services:kvstore'
include 'services:pipeline'
include 'services:tasks'
Expand Down
2 changes: 1 addition & 1 deletion util/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jar {
}

dependencies {
implementation project(':plugins')
implementation project(':plugin-api')
implementation 'com.google.guava:guava'
implementation 'io.vertx:vertx-core'
implementation 'org.apache.logging.log4j:log4j-api'
Expand Down

0 comments on commit 513b055

Please sign in to comment.