settings.gradle: If at least Java 11 and Gradle 4.10 are detected, wallet-template is being built again.

This also means wallet-template is under continuous integration by Travis again.
This commit is contained in:
Sean Gilligan
2019-02-23 10:49:00 -08:00
committed by Andreas Schildbach
parent 0be1008339
commit 4daf6de1eb
4 changed files with 38 additions and 16 deletions

View File

@@ -1,5 +1,11 @@
plugins {
id 'org.openjfx.javafxplugin' version '0.0.7' apply false
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'application'
apply plugin: 'org.openjfx.javafxplugin'
eclipse.project.name = 'bitcoinj-wallettemplate'
@@ -12,11 +18,16 @@ dependencies {
implementation 'org.slf4j:slf4j-jdk14:1.7.25'
}
sourceCompatibility = 1.8
javafx {
modules = [ 'javafx.controls', 'javafx.fxml' ]
}
sourceCompatibility = 1.11
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
task wallet_template(type: JavaExec) {
main = 'wallettemplate.Main'
classpath = sourceSets.main.runtimeClasspath
mainClassName = 'wallettemplate.Main'
// task wallet_template can be replaced with the 'run' task
task wallet_template(dependsOn: 'run') {
}