Skip to content

Commit d3270ce

Browse files
committed
Formatting
1 parent b072844 commit d3270ce

File tree

3 files changed

+19
-8
lines changed

3 files changed

+19
-8
lines changed

compatibility/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ plugins {
1010
configure<ModuleInfoExtension> {
1111
version = JavaVersion.VERSION_11
1212
extraArgs = listOf(
13-
"--add-exports", "java.desktop/sun.awt=darklaf.compatibility"
13+
"--add-exports",
14+
"java.desktop/sun.awt=darklaf.compatibility"
1415
)
1516
stubModule("darklaf.core")
1617
}

macos/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ library {
3939
}
4040
linkTask.configure {
4141
linkerArgs.addAll(
42-
"-lobjc", "-mmacosx-version-min=$minOs",
42+
"-lobjc",
43+
"-mmacosx-version-min=$minOs"
4344
// "-framework", "AppKit",
4445
// "-framework", "Cocoa",
4546
)

windows/build.gradle.kts

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ library {
3131
when (it) {
3232
is Gcc, is Clang -> listOf(
3333
"--std=c++17",
34-
"-Wall", "-Wextra", "-pedantic",
35-
"-Wno-language-extension-token", "-Wno-ignored-attributes"
34+
"-Wall",
35+
"-Wextra",
36+
"-pedantic",
37+
"-Wno-language-extension-token",
38+
"-Wno-ignored-attributes"
3639
)
3740
is VisualCpp -> listOf("/std:c++17", "/EHsc", "/W4", "/permissive", "/WX")
3841
else -> emptyList()
@@ -46,12 +49,18 @@ library {
4649
toolChain.map {
4750
when (it) {
4851
is Gcc, is Clang -> listOf(
49-
"-ldwmapi", "-lGdi32", "-luser32",
50-
"-ladvapi32", "-lShell32"
52+
"-ldwmapi",
53+
"-lGdi32",
54+
"-luser32",
55+
"-ladvapi32",
56+
"-lShell32"
5157
)
5258
is VisualCpp -> listOf(
53-
"dwmapi.lib", "user32.lib", "Gdi32.lib",
54-
"Advapi32.lib", "Shell32.lib"
59+
"dwmapi.lib",
60+
"user32.lib",
61+
"Gdi32.lib",
62+
"Advapi32.lib",
63+
"Shell32.lib"
5564
)
5665
else -> emptyList()
5766
}

0 commit comments

Comments
 (0)