mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-15 00:07:12 -06:00
Testing: updated lafs.properties
This commit is contained in:
@@ -41,6 +41,8 @@ dependencies {
|
||||
implementation( libs.jide.oss )
|
||||
implementation( libs.glazedlists )
|
||||
implementation( libs.netbeans.api.awt )
|
||||
|
||||
components.all<TargetJvmVersion8Rule>()
|
||||
}
|
||||
|
||||
applyLafs()
|
||||
@@ -58,3 +60,13 @@ fun applyLafs() {
|
||||
dependencies.implementation( parts[2] )
|
||||
}
|
||||
}
|
||||
|
||||
// rule that overrides 'org.gradle.jvm.version' with '8'
|
||||
// (required for Radiance, which requires Java 9, but FlatLaf build uses Java 8)
|
||||
abstract class TargetJvmVersion8Rule : ComponentMetadataRule {
|
||||
override fun execute( context: ComponentMetadataContext ) {
|
||||
context.details.allVariants {
|
||||
attributes.attribute( TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 8 )
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user