Added examples to main build file.
This commit is contained in:
parent
4453f0f928
commit
6d86d5022a
10 changed files with 498 additions and 457 deletions
|
@ -1,16 +1,16 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module external.linked.project.id="example" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="KOBALT" type="JAVA_MODULE" version="4">
|
||||
<module external.linked.project.id="example" external.linked.project.path="$MODULE_DIR$/.." external.root.project.path="$MODULE_DIR$/.." external.system.id="KOBALT" type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="false">
|
||||
<output url="file://$MODULE_DIR$/kobaltBuild/classes" />
|
||||
<output-test url="file://$MODULE_DIR$/kobaltBuild/test-classes" />
|
||||
<output url="file://$MODULE_DIR$/../kobaltBuild/classes" />
|
||||
<output-test url="file://$MODULE_DIR$/../kobaltBuild/test-classes" />
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/kotlin" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/test/kotlin" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/kobaltBuild" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module" module-name="kobalt-maven-local" />
|
||||
</component>
|
||||
</module>
|
|
@ -2,17 +2,15 @@ import com.beust.kobalt.*
|
|||
import com.beust.kobalt.plugin.packaging.*
|
||||
import com.beust.kobalt.plugin.application.*
|
||||
import com.beust.kobalt.plugin.java.*
|
||||
import net.thauvin.erik.kobalt.plugin.maven.local.*
|
||||
|
||||
val bs = buildScript {
|
||||
repos(localMaven())
|
||||
//plugins(file("../kobaltBuild/libs/kobalt-maven-local-0.5.2.jar"))
|
||||
plugins("net.thauvin.erik:kobalt-maven-local:")
|
||||
}
|
||||
|
||||
val example = project {
|
||||
|
||||
//println(">>> LOCAL MAVEN REPO: " + localMaven())
|
||||
// println(" >>> LOCAL MAVEN REPO: " + localMaven())
|
||||
|
||||
name = "example"
|
||||
group = "com.example"
|
||||
|
|
|
@ -1 +1 @@
|
|||
kobalt.version=1.0.3
|
||||
kobalt.version=1.0.5
|
4
example/m2/repository/.gitignore
vendored
4
example/m2/repository/.gitignore
vendored
|
@ -1,4 +0,0 @@
|
|||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
Loading…
Add table
Add a link
Reference in a new issue