mirror of
https://github.com/ethauvin/version-processor.git
synced 2025-04-24 23:47:11 -07:00
Initial commit
This commit is contained in:
commit
71c48e2f65
19 changed files with 326 additions and 0 deletions
42
Build.kt
Normal file
42
Build.kt
Normal file
|
@ -0,0 +1,42 @@
|
|||
|
||||
import com.beust.kobalt.*
|
||||
import com.beust.kobalt.plugin.application.*
|
||||
import com.beust.kobalt.plugin.java.*
|
||||
import com.beust.kobalt.plugin.packaging.*
|
||||
import com.beust.kobalt.plugin.packaging.*
|
||||
|
||||
val processor = javaProject {
|
||||
name = "processor"
|
||||
version = "0.1"
|
||||
directory = "processor"
|
||||
|
||||
assemble {
|
||||
jar {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
val processorExample = javaProject(processor) {
|
||||
name = "example"
|
||||
group = "com.beust"
|
||||
artifactId = name
|
||||
version = "0.1"
|
||||
directory = "example"
|
||||
|
||||
dependencies {
|
||||
compile(file("../processor/kobaltBuild/libs/processor-0.1.jar"))
|
||||
}
|
||||
|
||||
assemble {
|
||||
jar {
|
||||
fatJar = true
|
||||
manifest {
|
||||
attributes("Main-Class", "com.beust.apt.example.Example")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass = "com.beust.apt.example.Example"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue