Gradle stuff

This commit is contained in:
2020-10-28 02:01:16 +01:00
parent c3fc6a4e88
commit cd9fdd28e8
3 changed files with 4 additions and 12 deletions
@@ -8,20 +8,11 @@ plugins {
tasks.withType<ShadowJar> {
archiveBaseName.set("app")
archiveAppendix.set("with-dependencies")
manifest.attributes["Main-Class"] = "be.simplenotes.app.SimpleNotesKt"
mergeServiceFiles()
// minimize()
// include("org.mariadb.jdbc:mariadb-java-client")
// include("com.h2database:h2")
// include("org.jetbrains.kotlin:kotlin-reflect")
// include("org.eclipse.jetty:*")
// include("org.apache.lucene:*")
// include("org.ocpsoft.prettytime:prettytime")
File(rootProject.projectDir, "buildSrc/src/main/resources/exclusions")
.listFiles()!!
.flatMap {
@@ -36,7 +27,7 @@ tasks.withType<ShadowJar> {
}
tasks.create("package") {
rootProject.subprojects.forEach { dependsOn(":${it.name}:test") }
tasks.getByName("build").dependsOn("package")
dependsOn("shadowJar")
dependsOn("css")