mirror of https://github.com/weisJ/darklaf.git
darculadarcula-themefeelguihacktoberfestintellijintellij-themelaflooklookandfeelnativesolarizedsolarized-dark-themesolarized-light-themesvgswingthemethemes
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.4 KiB
49 lines
1.4 KiB
5 years ago
|
import com.github.vlsi.gradle.crlf.CrLfSpec
|
||
|
import com.github.vlsi.gradle.crlf.LineEndings
|
||
|
|
||
|
plugins {
|
||
|
`java-library`
|
||
|
id("com.github.johnrengelman.shadow")
|
||
|
id("com.github.vlsi.crlf")
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation(project(":darklaf-native-utils"))
|
||
|
implementation(project(":darklaf-windows"))
|
||
|
implementation("com.formdev:svgSalamander")
|
||
|
implementation("net.java.dev.jna:jna")
|
||
|
implementation("org.swinglabs:jxlayer")
|
||
|
compileOnly("org.swinglabs:swingx")
|
||
|
testImplementation("org.swinglabs:swingx")
|
||
|
}
|
||
|
|
||
|
tasks.jar {
|
||
|
CrLfSpec(LineEndings.LF).run {
|
||
|
into("META-INF") {
|
||
|
filteringCharset = "UTF-8"
|
||
|
textFrom("licenses/NOTICE.txt")
|
||
|
textFrom("licenses/DARCULA_LICENSE.txt")
|
||
|
textFrom("licenses/PBJAR_LICENSE.txt")
|
||
|
textFrom("licenses/INTELLIJ_LICENSE.txt")
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
tasks.shadowJar {
|
||
|
exclude("help/")
|
||
|
exclude("icons/")
|
||
|
exclude("org/jdesktop/jxlayer/plaf/ext/images/")
|
||
|
exclude("com/sun/jna/darwin/")
|
||
|
exclude("com/sun/jna/freebsd-x86/")
|
||
|
exclude("com/sun/jna/freebsd-x86-64/")
|
||
|
exclude("com/sun/jna/linux-arm/")
|
||
|
exclude("com/sun/jna/linux-x86/")
|
||
|
exclude("com/sun/jna/linux-x86-64/")
|
||
|
exclude("com/sun/jna/openbsd-x86/")
|
||
|
exclude("com/sun/jna/openbsd-x86-64/")
|
||
|
exclude("com/sun/jna/sunos-sparc/")
|
||
|
exclude("com/sun/jna/sunos-sparcv9/")
|
||
|
exclude("com/sun/jna/sunos-x86/")
|
||
|
exclude("com/sun/jna/sunos-x86-64/")
|
||
|
}
|