Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
Added JavaFX plugin and removed no longer needed testing against jars
  • Loading branch information
Jugen committed Nov 11, 2022
1 parent 85c63cc commit c5f1818
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions richtextfx/build.gradle
Expand Up @@ -6,12 +6,18 @@ buildscript {

plugins {
id 'java-library'
id 'org.openjfx.javafxplugin' version '0.0.10'
id 'org.unbroken-dome.test-sets' version '4.0.0'
id 'biz.aQute.bnd.builder' version "5.3.0"
id 'maven-publish'
id 'signing'
}

javafx {
version = '11'
modules = [ 'javafx.controls', 'javafx.fxml']
}

// OSGi bundle is configured through the bnd.bnd file

group = 'org.fxmisc.richtext'
Expand Down Expand Up @@ -41,12 +47,6 @@ dependencies {
integrationTestImplementation "org.testfx:openjfx-monocle:8u76-b04"
}

compileJava {
sourceCompatibility = 9
targetCompatibility = 9
options.deprecation = true
}

jar {
manifest {
attributes(
Expand Down Expand Up @@ -85,9 +85,6 @@ import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import org.gradle.api.tasks.testing.logging.TestLogEvent

test {
dependsOn jar
// run tests against jar in case it's a multi-release jar
classpath = files(jar.archivePath, classpath) - sourceSets.main.output
testLogging {
// Fancy formatting from http://stackoverflow.com/a/36130467/3634630
// set options for log level LIFECYCLE
Expand Down Expand Up @@ -117,9 +114,6 @@ test {
}

integrationTest {
dependsOn jar
// run tests against jar in case it's a multi-release jar
classpath = files(jar.archivePath, classpath) - sourceSets.main.output
testLogging {
// Fancy formatting from http://stackoverflow.com/a/36130467/3634630
// set options for log level LIFECYCLE
Expand Down

0 comments on commit c5f1818

Please sign in to comment.