Removed Kobalt.
This commit is contained in:
parent
f8101bb2e9
commit
1b706aedc5
7 changed files with 17 additions and 89 deletions
|
@ -1,50 +0,0 @@
|
|||
import com.beust.kobalt.*
|
||||
import com.beust.kobalt.plugin.application.*
|
||||
import com.beust.kobalt.plugin.apt.*
|
||||
import com.beust.kobalt.plugin.java.javaCompiler
|
||||
import com.beust.kobalt.plugin.packaging.*
|
||||
|
||||
// ./kobaltw run
|
||||
|
||||
val bs = buildScript {
|
||||
repos(localMaven())
|
||||
}
|
||||
|
||||
val example = project {
|
||||
|
||||
name = "example"
|
||||
version = "1.0"
|
||||
|
||||
val mainClassName = "com.example.App"
|
||||
val processorJar = "net.thauvin.erik:semver:1.2.0"
|
||||
|
||||
dependencies {
|
||||
apt(processorJar)
|
||||
compileOnly(processorJar)
|
||||
}
|
||||
|
||||
apt {
|
||||
//outputDir = "../src/generated/java/"
|
||||
}
|
||||
|
||||
javaCompiler {
|
||||
args("-source", "1.8", "-target", "1.8")
|
||||
}
|
||||
|
||||
assemble {
|
||||
jar {
|
||||
manifest {
|
||||
attributes("Main-Class", mainClassName)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass = mainClassName
|
||||
}
|
||||
|
||||
application {
|
||||
taskName = "runExample"
|
||||
mainClass = "com.example.Example"
|
||||
}
|
||||
}
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
kobalt.version=1.0.129
|
|
@ -1,2 +0,0 @@
|
|||
#!/usr/bin/env sh
|
||||
java -jar "`dirname "$0"`/kobalt/wrapper/kobalt-wrapper.jar" $*
|
|
@ -1,4 +0,0 @@
|
|||
@echo off
|
||||
set DIRNAME=%~dp0
|
||||
if "%DIRNAME%" == "" set DIRNAME=.
|
||||
java -jar "%DIRNAME%/kobalt/wrapper/kobalt-wrapper.jar" %*
|
Loading…
Add table
Add a link
Reference in a new issue