Repo created
This commit is contained in:
parent
ef295a34d2
commit
bbab4c6180
352 changed files with 14422 additions and 1 deletions
34
cli/build.gradle.kts
Normal file
34
cli/build.gradle.kts
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
plugins {
|
||||
kotlin("jvm")
|
||||
}
|
||||
|
||||
group = "com.linuxcommandlibrary"
|
||||
version = parent!!.version
|
||||
|
||||
dependencies {
|
||||
implementation(project(":common"))
|
||||
implementation(libs.sqldelight.sqlite.driver)
|
||||
}
|
||||
|
||||
kotlin {
|
||||
compilerOptions {
|
||||
sourceSets["main"].apply {
|
||||
resources.srcDirs("../assets")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
val createJar =
|
||||
tasks.register("createJar", Jar::class) {
|
||||
archiveBaseName.set("MyApplication")
|
||||
from(sourceSets["main"].output)
|
||||
|
||||
archiveFileName.set("linuxcommandlibrary.jar")
|
||||
manifest {
|
||||
attributes["Main-Class"] = "com.linuxcommandlibrary.cli.ConsoleApplicationKt"
|
||||
}
|
||||
from(configurations.getByName("runtimeClasspath").map { if (it.isDirectory) it else zipTree(it) })
|
||||
|
||||
duplicatesStrategy = DuplicatesStrategy.INCLUDE
|
||||
exclude("META-INF/*.RSA", "META-INF/*.SF", "META-INF/*.DSA")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue