Skip to content

Commit

Permalink
Merge pull request #6522 from alvasw/gradle_cli_module_build_gradle
Browse files Browse the repository at this point in the history
Create build.gradle for cli module
  • Loading branch information
alejandrogarcia83 authored Jan 17, 2023
2 parents b7d72a3 + 0dd7fc6 commit 31dbe07
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 42 deletions.
42 changes: 0 additions & 42 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -305,48 +305,6 @@ configure(project(':core')) {
}
}

configure(project(':cli')) {
distTar.enabled = true

mainClassName = 'bisq.cli.CliMain'

dependencies {
implementation project(':proto')
annotationProcessor libs.lombok
compileOnly libs.lombok
implementation libs.logback.classic
implementation libs.logback.core
implementation libs.google.guava
implementation libs.protobuf.java
implementation libs.jopt
implementation libs.slf4j.api
implementation(libs.grpc.core) {
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.cowwoc.diff.match.patch

testImplementation libs.junit.jupiter.api
testImplementation libs.junit.jupiter.params
testRuntimeOnly libs.javax.annotation
testRuntimeOnly libs.junit.jupiter.engine
}

test {
useJUnitPlatform()
}
}

configure(project(':desktop')) {
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'org.openjfx.javafxplugin'
Expand Down
39 changes: 39 additions & 0 deletions cli/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
distTar.enabled = true

mainClassName = 'bisq.cli.CliMain'

dependencies {
implementation project(':proto')
annotationProcessor libs.lombok
compileOnly libs.lombok
implementation libs.logback.classic
implementation libs.logback.core
implementation libs.google.guava
implementation libs.protobuf.java
implementation libs.jopt
implementation libs.slf4j.api
implementation(libs.grpc.core) {
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.cowwoc.diff.match.patch

testImplementation libs.junit.jupiter.api
testImplementation libs.junit.jupiter.params
testRuntimeOnly libs.javax.annotation
testRuntimeOnly libs.junit.jupiter.engine
}

test {
useJUnitPlatform()
}

0 comments on commit 31dbe07

Please sign in to comment.