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>
pull/2/head
Edward 5 years ago committed by GitHub
parent 59743a7096
commit 9856cd32b0
  1. 2
      acceptance-tests/build.gradle
  2. 2
      build.gradle
  3. 2
      consensus/common/build.gradle
  4. 2
      crypto/build.gradle
  5. 2
      ethereum/core/build.gradle
  6. 2
      ethereum/mock-p2p/build.gradle
  7. 2
      ethereum/rlp/build.gradle
  8. 2
      metrics/core/build.gradle
  9. 2
      metrics/rocksdb/build.gradle
  10. 2
      pantheon/build.gradle
  11. 2
      plugin-api/build.gradle
  12. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/PantheonContext.java
  13. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/PantheonPlugin.java
  14. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/Unstable.java
  15. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/data/Address.java
  16. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/data/BinaryData.java
  17. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/data/BlockHeader.java
  18. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/data/Hash.java
  19. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/data/Log.java
  20. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/data/Quantity.java
  21. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/data/Transaction.java
  22. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/data/UnformattedData.java
  23. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/services/MetricsSystem.java
  24. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/services/PantheonConfiguration.java
  25. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/services/PantheonEvents.java
  26. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/services/PicoCLIOptions.java
  27. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/services/StorageService.java
  28. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/services/exception/StorageException.java
  29. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/services/metrics/Counter.java
  30. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/services/metrics/LabelledMetric.java
  31. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/services/metrics/MetricCategory.java
  32. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/services/metrics/MetricCategoryRegistry.java
  33. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/services/metrics/OperationTimer.java
  34. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/services/storage/KeyValueStorage.java
  35. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/services/storage/KeyValueStorageFactory.java
  36. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/services/storage/KeyValueStorageTransaction.java
  37. 0
      plugin-api/src/main/java/tech/pegasys/pantheon/plugin/services/storage/SegmentIdentifier.java
  38. 2
      services/kvstore/build.gradle
  39. 2
      services/pipeline/build.gradle
  40. 2
      services/tasks/build.gradle
  41. 2
      settings.gradle
  42. 2
      util/build.gradle

@ -33,7 +33,7 @@ dependencies {
testImplementation project(':metrics:core') testImplementation project(':metrics:core')
testImplementation project(':pantheon') testImplementation project(':pantheon')
testImplementation project(path: ':pantheon', configuration: 'testArtifacts') testImplementation project(path: ':pantheon', configuration: 'testArtifacts')
testImplementation project(':plugins') testImplementation project(':plugin-api')
testImplementation project(':services:kvstore') testImplementation project(':services:kvstore')
testImplementation project(':testutil') testImplementation project(':testutil')
testImplementation project(':util') testImplementation project(':util')

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

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

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

@ -32,7 +32,7 @@ dependencies {
implementation project(':ethereum:rlp') implementation project(':ethereum:rlp')
implementation project(':ethereum:trie') implementation project(':ethereum:trie')
implementation project(':metrics:core') implementation project(':metrics:core')
implementation project(':plugins') implementation project(':plugin-api')
implementation project(':services:kvstore') implementation project(':services:kvstore')
implementation 'com.fasterxml.jackson.core:jackson-databind' implementation 'com.fasterxml.jackson.core:jackson-databind'

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

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

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

@ -27,7 +27,7 @@ jar {
dependencies { dependencies {
implementation project(':metrics:core') implementation project(':metrics:core')
implementation project(':plugins') implementation project(':plugin-api')
implementation project(':services:util') implementation project(':services:util')
implementation 'com.google.guava:guava' implementation 'com.google.guava:guava'

@ -44,7 +44,7 @@ dependencies {
implementation project(':ethereum:rlp') implementation project(':ethereum:rlp')
implementation project(':metrics:core') implementation project(':metrics:core')
implementation project(':nat') implementation project(':nat')
implementation project(':plugins') implementation project(':plugin-api')
implementation project(':services:kvstore') implementation project(':services:kvstore')
implementation 'com.fasterxml.jackson.core:jackson-databind' implementation 'com.fasterxml.jackson.core:jackson-databind'

@ -68,7 +68,7 @@ check.dependsOn('checkAPIChanges')
publishing { publishing {
publications { publications {
mavenJava(MavenPublication) { mavenJava(MavenPublication) {
groupId 'tech.pegasys.pantheon.plugin-api' groupId 'tech.pegasys.pantheon'
pom { pom {
name = 'Pantheon Plugins Library' name = 'Pantheon Plugins Library'
description = 'Core Plugins Libraries for Pantheon' description = 'Core Plugins Libraries for Pantheon'

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

@ -28,7 +28,7 @@ jar {
dependencies { dependencies {
api project(':util') api project(':util')
implementation project(':metrics:core') implementation project(':metrics:core')
implementation project(':plugins') implementation project(':plugin-api')
implementation 'org.apache.logging.log4j:log4j-api' implementation 'org.apache.logging.log4j:log4j-api'
implementation 'com.google.guava:guava' implementation 'com.google.guava:guava'

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

@ -37,7 +37,7 @@ include 'metrics:core'
include 'metrics:rocksdb' include 'metrics:rocksdb'
include 'nat' include 'nat'
include 'pantheon' include 'pantheon'
include 'plugins' include 'plugin-api'
include 'services:kvstore' include 'services:kvstore'
include 'services:pipeline' include 'services:pipeline'
include 'services:tasks' include 'services:tasks'

@ -26,7 +26,7 @@ jar {
} }
dependencies { dependencies {
implementation project(':plugins') implementation project(':plugin-api')
implementation 'com.google.guava:guava' implementation 'com.google.guava:guava'
implementation 'io.vertx:vertx-core' implementation 'io.vertx:vertx-core'
implementation 'org.apache.logging.log4j:log4j-api' implementation 'org.apache.logging.log4j:log4j-api'

Loading…
Cancel
Save