Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 14 additions & 26 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,10 @@ buildscript {
dependencies {
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4"
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.5.2"
classpath "org.javamodularity:moduleplugin:1.5.0"
}
}

apply plugin: "java"
apply plugin: "org.javamodularity.moduleplugin"
apply plugin: "maven"
apply plugin: "java-library"
apply plugin: "maven-publish"
apply plugin: "com.jfrog.bintray"
apply plugin: "com.jfrog.artifactory"
Expand Down Expand Up @@ -47,47 +44,38 @@ repositories {
}

dependencies {
compile 'io.reactivex.rxjava3:rxjava:3.0.1'
compile "org.openjfx:javafx-base:11:${platform}"
compile "org.openjfx:javafx-graphics:11:${platform}"
compile "org.openjfx:javafx-controls:11:${platform}"
testCompile 'junit:junit-dep:4.11'
testCompile 'org.mockito:mockito-core:1.8.5'
implementation 'io.reactivex.rxjava3:rxjava:3.0.1'
implementation "org.openjfx:javafx-base:11:${platform}"
implementation "org.openjfx:javafx-graphics:11:${platform}"
implementation "org.openjfx:javafx-controls:11:${platform}"
testImplementation 'junit:junit-dep:4.11'
testImplementation 'org.mockito:mockito-core:1.8.5'
}

test {
moduleOptions {
runOnClasspath = true
}
useJUnit()
}

task sourcesJar(type: Jar) {
archiveClassifier = 'sources'
from sourceSets.main.allSource

java {
withJavadocJar()
withSourcesJar()
modularity.inferModulePath = true
}

javadoc {
source = sourceSets.main.allJava
classpath = configurations.compileClasspath

options {
setMemberLevel JavadocMemberLevel.PUBLIC
setAuthor true
// links "https://docs.oracle.com/javase/8/docs/api/" // causes build to fail on openjdk-11.0.2+9
links "https://docs.oracle.com/en/java/javase/11/docs/api/"
}
}

task packageJavadoc(type: Jar) {
from javadoc
archiveClassifier = 'javadoc'
}

publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifact sourcesJar
artifact packageJavadoc

groupId GROUP
version VERSION_NAME
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
53 changes: 33 additions & 20 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

188 changes: 104 additions & 84 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.