mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
Make relative paths work.
This commit is contained in:
parent
06e790d462
commit
ee3a1839f7
3 changed files with 4 additions and 18 deletions
|
@ -1,6 +1,7 @@
|
|||
import com.beust.kobalt.*
|
||||
|
||||
import com.beust.kobalt.api.License
|
||||
import com.beust.kobalt.api.Scm
|
||||
import com.beust.kobalt.homeDir
|
||||
import com.beust.kobalt.internal.test
|
||||
import com.beust.kobalt.plugin.java.javaCompiler
|
||||
import com.beust.kobalt.plugin.java.javaProject
|
||||
|
@ -33,7 +34,7 @@ fun readVersion() : String {
|
|||
val wrapper = javaProject {
|
||||
name = "kobalt-wrapper"
|
||||
version = readVersion()
|
||||
directory = homeDir("kotlin/kobalt/modules/wrapper")
|
||||
directory = "modules/wrapper"
|
||||
|
||||
javaCompiler {
|
||||
args("-source", "1.7", "-target", "1.7")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue