Merge pull request #6568 from alvasw/gradle_apply_central_bisq_java_conventions

Gradle apply central bisq java conventions
This commit is contained in:
Alejandro García 2023-02-05 22:43:48 +00:00 committed by GitHub
commit b1e2cb03ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 37 additions and 17 deletions

3
apitest/build.gradle Normal file
View file

@ -0,0 +1,3 @@
plugins {
id 'bisq.java-conventions'
}

View file

@ -1,3 +1,7 @@
plugins {
id 'bisq.java-conventions'
}
dependencies {
implementation(libs.bitcoinj) {
exclude(module: 'bcprov-jdk15on')

View file

@ -23,12 +23,8 @@ configure(rootProject) {
}
configure(subprojects) {
apply plugin: 'java'
apply plugin: 'com.google.osdetector'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
ext { // in alphabetical order
grpcVersion = '1.42.1'
javafxVersion = '16'
@ -36,19 +32,6 @@ configure(subprojects) {
os = osdetector.os == 'osx' ? 'mac' : osdetector.os == 'windows' ? 'win' : osdetector.os
}
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
testImplementation libs.junit
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
}

View file

@ -1,3 +1,7 @@
plugins {
id 'bisq.java-conventions'
}
distTar.enabled = true
mainClassName = 'bisq.cli.CliMain'

3
common/build.gradle Normal file
View file

@ -0,0 +1,3 @@
plugins {
id 'bisq.java-conventions'
}

3
core/build.gradle Normal file
View file

@ -0,0 +1,3 @@
plugins {
id 'bisq.java-conventions'
}

View file

@ -1,3 +1,7 @@
plugins {
id 'bisq.java-conventions'
}
distTar.enabled = true
mainClassName = 'bisq.daemon.app.BisqDaemonMain'

3
desktop/build.gradle Normal file
View file

@ -0,0 +1,3 @@
plugins {
id 'bisq.java-conventions'
}

3
p2p/build.gradle Normal file
View file

@ -0,0 +1,3 @@
plugins {
id 'bisq.java-conventions'
}

View file

@ -1,3 +1,7 @@
plugins {
id 'bisq.java-conventions'
}
apply plugin: 'com.google.protobuf'
dependencies {

3
seednode/build.gradle Normal file
View file

@ -0,0 +1,3 @@
plugins {
id 'bisq.java-conventions'
}

3
statsnode/build.gradle Normal file
View file

@ -0,0 +1,3 @@
plugins {
id 'bisq.java-conventions'
}