From e7194e43b470c2dd1a353f28e113468f8106c307 Mon Sep 17 00:00:00 2001 From: Karl Tauber Date: Sat, 9 Nov 2019 18:44:31 +0100 Subject: [PATCH] JIDE: README.md added and publishing added to build.gradle.kts --- CHANGELOG.md | 1 + flatlaf-jide-oss/README.md | 21 ++++++++ flatlaf-jide-oss/build.gradle.kts | 90 +++++++++++++++++++++++++++++++ flatlaf-swingx/README.md | 4 +- 4 files changed, 114 insertions(+), 2 deletions(-) create mode 100644 flatlaf-jide-oss/README.md diff --git a/CHANGELOG.md b/CHANGELOG.md index c4933b98..0e63b06b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ FlatLaf Change Log and is no longer interrupted by the scroll buttons. - TabbedPane: Content pane is no longer opaque. Use antialiasing for painting separator and content border. +- JIDE Common Layer: Support `JideTabbedPane`. ## 0.17 diff --git a/flatlaf-jide-oss/README.md b/flatlaf-jide-oss/README.md new file mode 100644 index 00000000..c7f0a41d --- /dev/null +++ b/flatlaf-jide-oss/README.md @@ -0,0 +1,21 @@ +FlatLaf addon for JIDE Common Layer +=================================== + +This addon for FlatLaf adds support for **some** +[JIDE Common Layer](https://github.com/jidesoft/jide-oss) components. + +Following JIDE Common Layer components are currently supported by this addon: + +- `JideTabbedPane` + + +**Note**: We have currently no plans to support additional components. If you're +a paid customer of JFormDesigner and need support for other components, email to +JFormDesigner support and ask for it. Otherwise, try to implement it yourself +and create a pull request. + + +Download +-------- + +Not yet available. diff --git a/flatlaf-jide-oss/build.gradle.kts b/flatlaf-jide-oss/build.gradle.kts index 478a15e1..30da1764 100644 --- a/flatlaf-jide-oss/build.gradle.kts +++ b/flatlaf-jide-oss/build.gradle.kts @@ -18,6 +18,8 @@ version = rootProject.version plugins { `java-library` + `maven-publish` + id( "com.jfrog.bintray" ) version "1.8.4" } dependencies { @@ -29,3 +31,91 @@ java { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } + +tasks { + assemble { + dependsOn( + "sourcesJar", + "javadocJar" + ) + } + + javadoc { + options { + this as StandardJavadocDocletOptions + tags = listOf( "uiDefault", "clientProperty" ) + } + isFailOnError = false + } + + register( "sourcesJar", Jar::class ) { + archiveClassifier.set( "sources" ) + + from( sourceSets.main.get().allJava ) + } + + register( "javadocJar", Jar::class ) { + archiveClassifier.set( "javadoc" ) + + from( javadoc ) + } +} + +publishing { + publications { + create( "maven" ) { + artifactId = "flatlaf-jide-oss" + groupId = "com.formdev" + + from( components["java"] ) + + artifact( tasks["sourcesJar"] ) + artifact( tasks["javadocJar"] ) + + pom { + name.set( "FlatLaf addon for JIDE Common Layer" ) + description.set( "Flat Look and Feel addon for JIDE Common Layer" ) + url.set( "https://github.com/JFormDesigner/FlatLaf" ) + + licenses { + license { + name.set( "The Apache License, Version 2.0" ) + url.set( "http://www.apache.org/licenses/LICENSE-2.0.txt" ) + } + } + + developers { + developer { + name.set( "Karl Tauber" ) + organization.set( "FormDev Software GmbH" ) + organizationUrl.set( "https://www.formdev.com/" ) + } + } + + scm { + url.set( "https://github.com/JFormDesigner/FlatLaf" ) + } + } + } + } +} + +bintray { + user = System.getenv( "BINTRAY_USER" ) ?: System.getProperty( "bintray.user" ) + key = System.getenv( "BINTRAY_KEY" ) ?: System.getProperty( "bintray.key" ) + + setPublications( "maven" ) + + with( pkg ) { + repo = "flatlaf" + name = "flatlaf-jide-oss" + setLicenses( "Apache-2.0" ) + vcsUrl = "https://github.com/JFormDesigner/FlatLaf" + + with( version ) { + name = project.version.toString() + } + + publish = true + } +} diff --git a/flatlaf-swingx/README.md b/flatlaf-swingx/README.md index 5d5d4f38..3cbbe6f0 100644 --- a/flatlaf-swingx/README.md +++ b/flatlaf-swingx/README.md @@ -6,8 +6,8 @@ This addon for FlatLaf adds support for **some** widely used SwingX components. Many SwingX components that do not use UI delegates (e.g. `JXButton`, `JXLabel`, `JXList`, etc) work with FlatLaf without adaptation. -Following SwingX components, which use UI delegates, are supported by this -addon: +Following SwingX components, which use UI delegates, are currently supported by +this addon: - `JXBusyLabel` - `JXDatePicker`