Pull up application and configuration of java plugin

This commit is contained in:
Chris Beams 2018-11-04 13:40:00 +01:00
parent f0b4496d13
commit 95c8b8ddfa
No known key found for this signature in database
GPG Key ID: 3D214F8F5BC5ED73
11 changed files with 5 additions and 42 deletions

View File

@ -1,9 +1,3 @@
plugins {
id 'java'
}
sourceCompatibility = 1.10
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}

View File

@ -1,3 +1,8 @@
plugins {
id 'java-base'
}
subprojects {
apply plugin: 'java'
sourceCompatibility = 1.10
}

View File

@ -11,7 +11,6 @@ buildscript {
}
plugins {
id 'java'
id 'com.google.protobuf' version '0.8.5'
}
@ -22,8 +21,6 @@ ext {
platform = osdetector.os == 'osx' ? 'mac' : osdetector.os == 'windows' ? 'win' : osdetector.os
}
sourceCompatibility = 1.10
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}

View File

@ -1,9 +1,3 @@
plugins {
id 'java'
}
sourceCompatibility = 1.10
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}

View File

@ -8,7 +8,6 @@ buildscript {
}
}
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'witness'
@ -16,8 +15,6 @@ apply from: 'gradle-witness.gradle'
version = '0.8.0-SNAPSHOT'
sourceCompatibility = 1.10
mainClassName = 'bisq.desktop.app.BisqAppMain'
def jmockitVersion = '1.42'

View File

@ -1,10 +1,7 @@
plugins {
id 'java'
id 'application'
}
sourceCompatibility = 1.10
mainClassName = 'bisq.monitor.MonitorMain'
repositories {

View File

@ -1,9 +1,3 @@
plugins {
id 'java'
}
sourceCompatibility = 1.10
repositories {
jcenter()
maven { url 'https://jitpack.io' }

View File

@ -1,11 +1,7 @@
plugins {
id "java"
id "org.springframework.boot" version "1.5.10.RELEASE"
}
sourceCompatibility = 1.10
targetCompatibility = 1.10
version = file("src/main/resources/version.txt").text
jar.manifest.attributes(

View File

@ -1,10 +1,7 @@
plugins {
id 'java'
id 'application'
}
sourceCompatibility = 1.10
mainClassName = 'bisq.relay.RelayMain'
repositories {

View File

@ -7,14 +7,9 @@ buildscript {
}
}
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'com.github.johnrengelman.shadow'
version = '0.8.0-SNAPSHOT'
sourceCompatibility = 1.10
mainClassName = 'bisq.seednode.SeedNodeMain'
sourceSets.main.resources.srcDirs += ['src/main/java'] // to copy fxml and css files

View File

@ -1,10 +1,7 @@
plugins {
id 'java'
id 'application'
}
sourceCompatibility = 1.10
mainClassName = 'bisq.statistics.StatisticsMain'
repositories {