3 Star 6 Fork 4

Gitee 极速下载/controlsfx

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/controlsfx/controlsfx
克隆/下载
build.gradle 2.73 KB
一键复制 编辑 原始数据 按行查看 历史
Christoph 提交于 2023-10-27 07:29 . Fix event target type erasure (#1525)
plugins {
id 'org.openjfx.javafxplugin' version '0.0.13' apply false
id 'io.github.gradle-nexus.publish-plugin' version '1.1.0'
}
ext.java9Args = [
// For various behaviors across controls
"--add-exports=javafx.controls/com.sun.javafx.scene.control.behavior=org.controlsfx.controls",
// For ReadOnlyUnbackedObservableList across files
"--add-exports=javafx.controls/com.sun.javafx.scene.control=org.controlsfx.controls",
// For EventHandlerManager in AutoCompletionBinding
"--add-exports=javafx.base/com.sun.javafx.event=org.controlsfx.controls",
// For MappingChange, NonIterableChange across files
"--add-exports=javafx.base/com.sun.javafx.collections=org.controlsfx.controls",
//For SpreadsheetView
"--add-exports=javafx.controls/com.sun.javafx.scene.control.behavior.TableViewBehavior=org.controlsfx.controls",
//For SpreadsheetView
"--add-exports=javafx.base/com.sun.javafx.event.EventHandlerManager=org.controlsfx.controls"
]
ext.java9RuntimeArgs = [
// For accessing getChildren in ImplUtils
"--add-opens=javafx.graphics/javafx.scene=org.controlsfx.controls"
]
subprojects {
apply plugin: 'java'
apply plugin: 'org.openjfx.javafxplugin'
apply from : '../mavenPublish.gradle'
sourceCompatibility = '11'
targetCompatibility = '11'
repositories {
mavenCentral()
}
compileJava {
options.encoding = "UTF-8"
options.incremental = true
}
javadoc {
def javaVersion = JavaVersion.current().majorVersion
if (JavaVersion.current().java11Compatible) {
options.links("https://openjfx.io/javadoc/"+ javaVersion)
options.links("https://docs.oracle.com/en/java/javase/" + javaVersion + "/docs/api")
} else {
options.links("https://docs.oracle.com/javase/" + javaVersion + "/docs/api")
}
}
task sourceJar(type: Jar) {
from sourceSets.main.java
from sourceSets.main.resources
archiveClassifier.set('sources')
}
task javadocJar(type: Jar) {
dependsOn javadoc
from javadoc.destinationDir
archiveClassifier.set('javadoc')
}
artifacts {
archives sourceJar
archives javadocJar
}
// Do not publish Gradle modules
tasks.withType(GenerateModuleMetadata) {
enabled = false
}
}
// nexus publish plugin needs this
version = controlsfx_version
nexusPublishing {
repositories {
sonatype {
username = project.hasProperty('sonatypeUsername') ? project.property('sonatypeUsername') : ''
password = project.hasProperty('sonatypePassword') ? project.property('sonatypePassword') : ''
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/mirrors/controlsfx.git
git@gitee.com:mirrors/controlsfx.git
mirrors
controlsfx
controlsfx
master

搜索帮助