mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
AptPlugin.
This commit is contained in:
parent
044bcc9c48
commit
a2e4e34b3e
7 changed files with 112 additions and 36 deletions
|
@ -12,7 +12,8 @@ import com.beust.kobalt.plugin.java.javaProject
|
|||
import com.beust.kobalt.plugin.kotlin.kotlinCompiler
|
||||
import com.beust.kobalt.plugin.kotlin.kotlinProject
|
||||
import com.beust.kobalt.plugin.packaging.assemble
|
||||
import com.beust.kobalt.plugin.publish.*
|
||||
import com.beust.kobalt.plugin.publish.github
|
||||
import com.beust.kobalt.plugin.publish.jcenter
|
||||
import java.io.File
|
||||
import java.nio.file.Files
|
||||
import java.nio.file.Paths
|
||||
|
@ -27,6 +28,15 @@ val wrapper = javaProject {
|
|||
args("-source", "1.7", "-target", "1.7")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile(file(homeDir("java/java-apt-example/processor/kobaltBuild/libs/processor-0.1.jar")))
|
||||
// apt(file(homeDir("java/java-apt-example/processor/kobaltBuild/libs/processor-0.1.jar")))
|
||||
}
|
||||
|
||||
// apt {
|
||||
// outputDir = "generated/sources/apt"
|
||||
// }
|
||||
|
||||
assemble {
|
||||
jar {
|
||||
name = projectName + ".jar"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue