Skip to content

Commit

Permalink
seednode: Move build configuration to its own build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
alvasw committed Aug 5, 2023
1 parent 6d9586f commit b54fec0
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 29 deletions.
29 changes: 0 additions & 29 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -90,35 +90,6 @@ configure([project(':cli'),
}
}

configure(project(':seednode')) {
apply plugin: 'com.github.johnrengelman.shadow'

shadowDistTar.enabled = false
shadowDistZip.enabled = false

jar.manifest.attributes(
"Implementation-Title": project.name,
"Implementation-Version": version)

mainClassName = 'bisq.seednode.SeedNodeMain'

dependencies {
implementation enforcedPlatform(project(':platform'))
implementation project(':common')
implementation project(':proto')
implementation project(':p2p')
implementation project(':core')
implementation libs.protobuf.java
annotationProcessor libs.lombok
compileOnly libs.lombok
implementation libs.google.guava
implementation libs.slf4j.api
implementation(libs.google.guice) {
exclude(module: 'guava')
}
}
}

configure(project(':apitest')) {
mainClassName = 'bisq.apitest.ApiTestMain'

Expand Down
27 changes: 27 additions & 0 deletions seednode/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
plugins {
id 'bisq.java-conventions'
}

apply plugin: 'com.github.johnrengelman.shadow'

shadowDistTar.enabled = false
shadowDistZip.enabled = false

jar.manifest.attributes(
"Implementation-Title": project.name,
"Implementation-Version": version)

mainClassName = 'bisq.seednode.SeedNodeMain'

dependencies {
implementation enforcedPlatform(project(':platform'))
implementation project(':common')
implementation project(':proto')
implementation project(':p2p')
implementation project(':core')
implementation libs.protobuf.java
annotationProcessor libs.lombok
compileOnly libs.lombok
implementation libs.google.guava
implementation libs.slf4j.api
implementation(libs.google.guice) {
exclude(module: 'guava')
}
}

0 comments on commit b54fec0

Please sign in to comment.