From a41d2ce982cb0f8c57f05545dcdb831919d77bc7 Mon Sep 17 00:00:00 2001 From: Alva Swanson Date: Fri, 24 Nov 2023 09:40:57 +0100 Subject: [PATCH] Migrate seednode to kotlin-dsl --- seed_node_app/build.gradle | 30 ---------------------- seed_node_app/build.gradle.kts | 46 ++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 30 deletions(-) delete mode 100644 seed_node_app/build.gradle create mode 100644 seed_node_app/build.gradle.kts diff --git a/seed_node_app/build.gradle b/seed_node_app/build.gradle deleted file mode 100644 index 188a9809f9..0000000000 --- a/seed_node_app/build.gradle +++ /dev/null @@ -1,30 +0,0 @@ -plugins { - id 'bisq.java-library' - id 'application' - alias(libs.plugins.shadow) -} - -application { - project.mainClassName = 'bisq.seed_node.SeedNodeApp' -} - -dependencies { - implementation project(':persistence') - implementation project(':security') - implementation project(':bonded_roles') - implementation project(':application') - implementation project(':identity') - - implementation 'network:common' - implementation 'network:network' - implementation 'network:network-identity' - - implementation libs.typesafe.config - implementation libs.google.gson -} - -distZip.enabled = false -distTar.enabled = false -shadowDistZip.enabled = false -shadowDistTar.enabled = false -shadowJar.enabled = true diff --git a/seed_node_app/build.gradle.kts b/seed_node_app/build.gradle.kts new file mode 100644 index 0000000000..cbfa3dccbe --- /dev/null +++ b/seed_node_app/build.gradle.kts @@ -0,0 +1,46 @@ +plugins { + id("bisq.java-library") + application + alias(libs.plugins.shadow) +} + +application { + mainClass.set("bisq.seed_node.SeedNodeApp") +} + +dependencies { + implementation(project(":persistence")) + implementation(project(":security")) + implementation(project(":bonded_roles")) + implementation(project(":application")) + implementation(project(":identity")) + + implementation("network:common") + implementation("network:network") + implementation("network:network-identity") + + implementation(libs.typesafe.config) + implementation(libs.google.gson) +} + +tasks { + distZip { + enabled = false + } + + distTar { + enabled = false + } + + shadowDistZip { + enabled = false + } + + shadowDistTar { + enabled = false + } + + shadowJar { + enabled = false + } +}