Ensure plugin-api module gets published at the correct maven path (#1905)

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

Signed-off-by: Edward Evans <edward.evans@consensys.net>

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
This commit is contained in:
Edward
2019-09-05 10:29:30 +10:00
committed by GitHub
parent 59743a7096
commit 9856cd32b0
42 changed files with 16 additions and 16 deletions

View File

@@ -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')

View File

@@ -273,7 +273,7 @@ allprojects {
task deploy() {}
tasks.register('checkPluginAPIChanges', DefaultTask) { }
checkPluginAPIChanges.dependsOn(':plugins:checkAPIChanges')
checkPluginAPIChanges.dependsOn(':plugin-api:checkAPIChanges')
check.dependsOn('checkPluginAPIChanges')
subprojects {

View File

@@ -26,7 +26,7 @@ jar {
}
dependencies {
api project(':plugins')
api project(':plugin-api')
implementation project(':ethereum:core')
implementation project(':ethereum:jsonrpc')

View File

@@ -26,7 +26,7 @@ jar {
}
dependencies {
api project(':plugins')
api project(':plugin-api')
api project(':util')
api 'org.bouncycastle:bcprov-jdk15on'

View File

@@ -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'

View File

@@ -26,7 +26,7 @@ jar {
}
dependencies {
api project(':plugins')
api project(':plugin-api')
implementation project(':ethereum:p2p')
implementation project(':ethereum:permissioning')

View File

@@ -26,7 +26,7 @@ jar {
}
dependencies {
api project(':plugins')
api project(':plugin-api')
api project(':util')
implementation 'com.google.guava:guava'

View File

@@ -33,7 +33,7 @@ publishing {
dependencies {
implementation project(':plugins')
implementation project(':plugin-api')
implementation 'com.google.guava:guava'
implementation 'io.prometheus:simpleclient'

View File

@@ -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'

View File

@@ -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'

View File

@@ -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'

View File

@@ -26,7 +26,7 @@ jar {
}
dependencies {
api project(':plugins')
api project(':plugin-api')
api project(':util')
implementation project(':metrics:core')

View File

@@ -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'

View File

@@ -26,7 +26,7 @@ jar {
}
dependencies {
api project(':plugins')
api project(':plugin-api')
api project(':util')
compileOnly 'org.openjdk.jmh:jmh-generator-annprocess'

View File

@@ -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'

View File

@@ -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'