|
|
|
@ -1,3 +1,6 @@
|
|
|
|
|
import com.github.vlsi.gradle.crlf.CrLfSpec |
|
|
|
|
import com.github.vlsi.gradle.crlf.LineEndings |
|
|
|
|
|
|
|
|
|
plugins { |
|
|
|
|
`java-library` |
|
|
|
|
id("com.github.vlsi.crlf") |
|
|
|
@ -27,6 +30,18 @@ tasks.test {
|
|
|
|
|
workingDir.mkdirs() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
tasks.jar { |
|
|
|
|
CrLfSpec(LineEndings.LF).run { |
|
|
|
|
into("META-INF") { |
|
|
|
|
filteringCharset = "UTF-8" |
|
|
|
|
textFrom("$rootDir/licenses/DARCULA_LICENSE.txt") |
|
|
|
|
textFrom("$rootDir/licenses/INTELLIJ_LICENSE.txt") |
|
|
|
|
textFrom("$rootDir/licenses/INTELLIJ_NOTICE.txt") |
|
|
|
|
textFrom("$rootDir/licenses/PBJAR_LICENSE.txt") |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
val makeDocumentation by tasks.registering(JavaExec::class) { |
|
|
|
|
group = "Development" |
|
|
|
|
description = "Builds the documentation" |
|
|
|
|