From 798f84968ace356a48d3b84de36f505bade648d1 Mon Sep 17 00:00:00 2001 From: Alva Swanson Date: Mon, 16 Jan 2023 16:32:49 +0100 Subject: [PATCH] Create build.gradle for daemon module --- build.gradle | 53 --------------------------------------------- daemon/build.gradle | 50 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 53 deletions(-) create mode 100644 daemon/build.gradle diff --git a/build.gradle b/build.gradle index c0c0d04d37..decf1036ef 100644 --- a/build.gradle +++ b/build.gradle @@ -487,59 +487,6 @@ configure(project(':statsnode')) { } } -configure(project(':daemon')) { - distTar.enabled = true - - mainClassName = 'bisq.daemon.app.BisqDaemonMain' - - dependencies { - implementation project(':proto') - implementation project(':common') - implementation project(':p2p') - implementation project(':core') - annotationProcessor libs.lombok - compileOnly libs.javax.annotation - compileOnly libs.lombok - implementation libs.logback.classic - implementation libs.logback.core - implementation libs.google.gson - implementation libs.google.guava - implementation libs.protobuf.java - implementation libs.apache.commons.lang3 - implementation libs.jetbrains.annotations - implementation libs.slf4j.api - implementation(libs.bitcoinj) { - exclude(module: 'bcprov-jdk15on') - exclude(module: 'guava') - exclude(module: 'jsr305') - exclude(module: 'okhttp') - exclude(module: 'okio') - exclude(module: 'protobuf-java') - exclude(module: 'slf4j-api') - } - implementation(libs.google.guice) { - exclude(module: 'guava') - } - implementation(libs.grpc.protobuf) { - exclude(module: 'animal-sniffer-annotations') - exclude(module: 'guava') - } - implementation(libs.grpc.stub) { - exclude(module: 'animal-sniffer-annotations') - exclude(module: 'guava') - } - runtimeOnly(libs.grpc.netty.shaded) { - exclude(module: 'animal-sniffer-annotations') - exclude(module: 'guava') - } - testAnnotationProcessor libs.lombok - testCompileOnly libs.lombok - testImplementation libs.junit.jupiter.api - testImplementation libs.junit.jupiter.params - testRuntimeOnly(libs.junit.jupiter.engine) - } -} - configure(project(':apitest')) { mainClassName = 'bisq.apitest.ApiTestMain' diff --git a/daemon/build.gradle b/daemon/build.gradle new file mode 100644 index 0000000000..5133827e1d --- /dev/null +++ b/daemon/build.gradle @@ -0,0 +1,50 @@ +distTar.enabled = true + +mainClassName = 'bisq.daemon.app.BisqDaemonMain' + +dependencies { + implementation project(':proto') + implementation project(':common') + implementation project(':p2p') + implementation project(':core') + annotationProcessor libs.lombok + compileOnly libs.javax.annotation + compileOnly libs.lombok + implementation libs.logback.classic + implementation libs.logback.core + implementation libs.google.gson + implementation libs.google.guava + implementation libs.protobuf.java + implementation libs.apache.commons.lang3 + implementation libs.jetbrains.annotations + implementation libs.slf4j.api + implementation(libs.bitcoinj) { + exclude(module: 'bcprov-jdk15on') + exclude(module: 'guava') + exclude(module: 'jsr305') + exclude(module: 'okhttp') + exclude(module: 'okio') + exclude(module: 'protobuf-java') + exclude(module: 'slf4j-api') + } + implementation(libs.google.guice) { + exclude(module: 'guava') + } + implementation(libs.grpc.protobuf) { + exclude(module: 'animal-sniffer-annotations') + exclude(module: 'guava') + } + implementation(libs.grpc.stub) { + exclude(module: 'animal-sniffer-annotations') + exclude(module: 'guava') + } + runtimeOnly(libs.grpc.netty.shaded) { + exclude(module: 'animal-sniffer-annotations') + exclude(module: 'guava') + } + testAnnotationProcessor libs.lombok + testCompileOnly libs.lombok + testImplementation libs.junit.jupiter.api + testImplementation libs.junit.jupiter.params + testRuntimeOnly(libs.junit.jupiter.engine) +}