|
|
|
@ -21,7 +21,7 @@ val skipAutostyle by props()
|
|
|
|
|
val String.v: String get() = rootProject.extra["$this.version"] as String |
|
|
|
|
|
|
|
|
|
val buildVersion = "darklaf".v + releaseParams.snapshotSuffix |
|
|
|
|
println("Building Darklaf $buildVersion") |
|
|
|
|
println("Building: Darklaf $buildVersion") |
|
|
|
|
println(" JDK: " + System.getProperty("java.home")) |
|
|
|
|
|
|
|
|
|
releaseParams { |
|
|
|
@ -133,6 +133,18 @@ allprojects {
|
|
|
|
|
enabled = false |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (!skipAutostyle) { |
|
|
|
|
autostyle { |
|
|
|
|
cpp { |
|
|
|
|
licenseHeader(File("${project.rootDir}/LICENSE").readText()) |
|
|
|
|
trimTrailingWhitespace() |
|
|
|
|
endWithNewline() |
|
|
|
|
eclipse { |
|
|
|
|
configFile("${project.rootDir}/darklaf_cpp.eclipseformat.xml") |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (!enableGradleMetadata) { |
|
|
|
|