From b54fec0940b0c2edbbf9d7088476473578142db5 Mon Sep 17 00:00:00 2001 From: Alva Swanson Date: Sat, 5 Aug 2023 14:47:01 +0200 Subject: [PATCH] seednode: Move build configuration to its own build.gradle --- build.gradle | 29 ----------------------------- seednode/build.gradle | 27 +++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 29 deletions(-) diff --git a/build.gradle b/build.gradle index 59370a9325d..5e26b534f1e 100644 --- a/build.gradle +++ b/build.gradle @@ -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' diff --git a/seednode/build.gradle b/seednode/build.gradle index 1a0dabb93c1..4945b6c64fe 100644 --- a/seednode/build.gradle +++ b/seednode/build.gradle @@ -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') + } +}