mirror of
https://github.com/bisq-network/bisq.git
synced 2025-03-03 10:46:54 +01:00
Merge pull request #6568 from alvasw/gradle_apply_central_bisq_java_conventions
Gradle apply central bisq java conventions
This commit is contained in:
commit
b1e2cb03ad
12 changed files with 37 additions and 17 deletions
3
apitest/build.gradle
Normal file
3
apitest/build.gradle
Normal file
|
@ -0,0 +1,3 @@
|
|||
plugins {
|
||||
id 'bisq.java-conventions'
|
||||
}
|
|
@ -1,3 +1,7 @@
|
|||
plugins {
|
||||
id 'bisq.java-conventions'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(libs.bitcoinj) {
|
||||
exclude(module: 'bcprov-jdk15on')
|
||||
|
|
17
build.gradle
17
build.gradle
|
@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
plugins {
|
||||
id 'bisq.java-conventions'
|
||||
}
|
||||
|
||||
distTar.enabled = true
|
||||
|
||||
mainClassName = 'bisq.cli.CliMain'
|
||||
|
|
3
common/build.gradle
Normal file
3
common/build.gradle
Normal file
|
@ -0,0 +1,3 @@
|
|||
plugins {
|
||||
id 'bisq.java-conventions'
|
||||
}
|
3
core/build.gradle
Normal file
3
core/build.gradle
Normal file
|
@ -0,0 +1,3 @@
|
|||
plugins {
|
||||
id 'bisq.java-conventions'
|
||||
}
|
|
@ -1,3 +1,7 @@
|
|||
plugins {
|
||||
id 'bisq.java-conventions'
|
||||
}
|
||||
|
||||
distTar.enabled = true
|
||||
|
||||
mainClassName = 'bisq.daemon.app.BisqDaemonMain'
|
||||
|
|
3
desktop/build.gradle
Normal file
3
desktop/build.gradle
Normal file
|
@ -0,0 +1,3 @@
|
|||
plugins {
|
||||
id 'bisq.java-conventions'
|
||||
}
|
3
p2p/build.gradle
Normal file
3
p2p/build.gradle
Normal file
|
@ -0,0 +1,3 @@
|
|||
plugins {
|
||||
id 'bisq.java-conventions'
|
||||
}
|
|
@ -1,3 +1,7 @@
|
|||
plugins {
|
||||
id 'bisq.java-conventions'
|
||||
}
|
||||
|
||||
apply plugin: 'com.google.protobuf'
|
||||
|
||||
dependencies {
|
||||
|
|
3
seednode/build.gradle
Normal file
3
seednode/build.gradle
Normal file
|
@ -0,0 +1,3 @@
|
|||
plugins {
|
||||
id 'bisq.java-conventions'
|
||||
}
|
3
statsnode/build.gradle
Normal file
3
statsnode/build.gradle
Normal file
|
@ -0,0 +1,3 @@
|
|||
plugins {
|
||||
id 'bisq.java-conventions'
|
||||
}
|
Loading…
Add table
Reference in a new issue