mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 14:00:55 +03:00
gradle: build target flatlaf-natives-windows only on Windows
(to fix build error on macOS)
This commit is contained in:
@@ -25,9 +25,10 @@ include( "flatlaf-demo" )
|
||||
include( "flatlaf-testing" )
|
||||
include( "flatlaf-theme-editor" )
|
||||
|
||||
includeProject( "flatlaf-natives-windows", "flatlaf-natives/flatlaf-natives-windows" )
|
||||
includeProject( "flatlaf-natives-jna", "flatlaf-natives/flatlaf-natives-jna" )
|
||||
includeProject( "flatlaf-testing-modular-app", "flatlaf-testing/flatlaf-testing-modular-app" )
|
||||
if( org.gradle.internal.os.OperatingSystem.current().isWindows )
|
||||
includeProject( "flatlaf-natives-windows", "flatlaf-natives/flatlaf-natives-windows" )
|
||||
includeProject( "flatlaf-natives-jna", "flatlaf-natives/flatlaf-natives-jna" )
|
||||
includeProject( "flatlaf-testing-modular-app", "flatlaf-testing/flatlaf-testing-modular-app" )
|
||||
|
||||
fun includeProject( projectPath: String, projectDir: String ) {
|
||||
include( projectPath )
|
||||
|
||||
Reference in New Issue
Block a user