IDEA and Kobalt updates.
This commit is contained in:
parent
e751f5ca7e
commit
199ecf1f46
5 changed files with 28 additions and 27 deletions
|
@ -1,12 +1,11 @@
|
|||
|
||||
import com.beust.kobalt.plugin.application.application
|
||||
import com.beust.kobalt.plugin.packaging.assemble
|
||||
import com.beust.kobalt.profile
|
||||
import com.beust.kobalt.project
|
||||
//import net.thauvin.erik.kobalt.plugin.propertyfile.*
|
||||
|
||||
val semver = "0.1.0"
|
||||
|
||||
|
||||
val dev by profile()
|
||||
val kobaltDependency = if (dev) "kobalt" else "kobalt-plugin-api"
|
||||
|
||||
|
@ -31,27 +30,4 @@ val p = project {
|
|||
|
||||
mavenJars {}
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass = "com.example.MainKt"
|
||||
}
|
||||
}
|
||||
|
||||
val example = project(p) {
|
||||
directory = "example"
|
||||
name = "example"
|
||||
version = "0.1.0"
|
||||
|
||||
assemble {
|
||||
jar {
|
||||
}
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass = "com.example.MainKt"
|
||||
}
|
||||
|
||||
// propertyFile {
|
||||
// file = "version.properties"
|
||||
// }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue