Skip to content

Commit

Permalink
Merge pull request #1 from alvasw/support_upstream_bisq
Browse files Browse the repository at this point in the history
Support Bisq upstream code
  • Loading branch information
HenrikJannsen authored Jul 12, 2023
2 parents e43b79a + 6559589 commit 6ca153f
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 24 deletions.
22 changes: 12 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,30 @@ configurations.all {
}

dependencies {
implementation enforcedPlatform(project(':platform'))

implementation 'bisq:assets'
implementation 'bisq:common'
implementation 'bisq:core'
implementation 'bisq:p2p'

implementation libs.chimp.jsocks
implementation libs.fxmisc.easybind
implementation bisqLibs.fxmisc.easybind
implementation libs.glassfish.jaxb
implementation libs.guava
implementation libs.guice
implementation bisqLibs.google.guava
implementation bisqLibs.google.guice

implementation libs.bundles.jersey.libs
implementation libs.swagger

implementation libs.logback.core
implementation libs.logback.classic
compileOnly libs.lombok
annotationProcessor libs.lombok
implementation libs.slf4j.api
implementation bisqLibs.logback.core
implementation bisqLibs.logback.classic
compileOnly bisqLibs.lombok
annotationProcessor bisqLibs.lombok
implementation bisqLibs.slf4j.api

testAnnotationProcessor libs.lombok
testCompileOnly libs.lombok
testAnnotationProcessor bisqLibs.lombok
testCompileOnly bisqLibs.lombok
testImplementation libs.junit.jupiter
}

Expand Down
13 changes: 0 additions & 13 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,10 @@
# when multiple versions are attempted to be brought in as transitive dependencies of other requirements.
[versions]
chimp-jsocks-lib = { strictly = '567e1cd6' }
fxmisc-easybind-lib = { strictly = '1.0.3' }
glassfish-jaxb-lib = { strictly = '3.0.2' }
guava-lib = { strictly = '30.1.1-jre' }
guice-lib = { strictly = '5.0.1' }
jersey-lib = { strictly = '3.0.4' }
junit-jupiter-lib = { strictly = '5.8.2' }
logback-lib = { strictly = '1.2.6' }
lombok-lib = { strictly = '1.18.22' }
openjfx-plugin = { strictly = '0.0.12' }
slf4j-lib = { strictly = '1.7.36' }
shadow-plugin = { strictly = '5.2.0' }
swagger-lib = { strictly = '2.2.0' }

Expand All @@ -23,18 +17,11 @@ swagger-lib = { strictly = '2.2.0' }
# in a build.gradle ('implementation libs.protobuf.java')
[libraries]
chimp-jsocks = { module = 'com.github.chimp1984:jsocks', version.ref = 'chimp-jsocks-lib' }
fxmisc-easybind = { module = 'org.fxmisc.easybind:easybind', version.ref = 'fxmisc-easybind-lib' }
guava = { module = 'com.google.guava:guava', version.ref = 'guava-lib' }
guice = { module = 'com.google.inject:guice', version.ref = 'guice-lib' }
jersey-container-jdk-http = { module = 'org.glassfish.jersey.containers:jersey-container-jdk-http', version.ref = 'jersey-lib' }
jersey-media-json-jackson = { module = 'org.glassfish.jersey.media:jersey-media-json-jackson', version.ref = 'jersey-lib' }
jersey-inject-jersey-hk2 = { module = 'org.glassfish.jersey.inject:jersey-hk2', version.ref = 'jersey-lib' }
glassfish-jaxb = { module = 'org.glassfish.jaxb:jaxb-runtime', version.ref = 'glassfish-jaxb-lib' }
junit-jupiter = { module = 'org.junit.jupiter:junit-jupiter', version.ref = 'junit-jupiter-lib' }
logback-core = { module = 'ch.qos.logback:logback-core', version.ref = 'logback-lib' }
logback-classic = { module = 'ch.qos.logback:logback-classic', version.ref = 'logback-lib' }
lombok = { module = 'org.projectlombok:lombok', version.ref = 'lombok-lib' }
slf4j-api = { module = 'org.slf4j:slf4j-api', version.ref = 'slf4j-lib' }
swagger = { module = 'io.swagger.core.v3:swagger-jaxrs2-jakarta', version.ref = 'swagger-lib' }

[bundles]
Expand Down
13 changes: 13 additions & 0 deletions platform/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
plugins {
id 'java-platform'
}

dependencies {
constraints {
api 'org.apache.commons:commons-lang3:3.11'

api 'com.fasterxml.jackson.core:jackson-annotations:2.12.1'
api 'com.fasterxml.jackson.core:jackson-core:2.12.1'
api 'com.fasterxml.jackson.core:jackson-databind:2.12.1'
}
}
12 changes: 11 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ pluginManagement {
}
includeBuild('bisq-gradle')
}

rootProject.name = 'bisq-daonode'
includeBuild('bisq')

dependencyResolutionManagement {
versionCatalogs {
bisqLibs {
from(files('bisq/gradle/libs.versions.toml'))
}
}
}

includeBuild('bisq')
include 'platform'

0 comments on commit 6ca153f

Please sign in to comment.