Kobalt 1.0.69 update.
This commit is contained in:
parent
a89860e944
commit
c132f817b4
11 changed files with 19 additions and 98 deletions
7
.gitignore
vendored
7
.gitignore
vendored
|
@ -4,8 +4,8 @@
|
||||||
**/.idea/tasks.xml
|
**/.idea/tasks.xml
|
||||||
**/.idea/workspace.xml
|
**/.idea/workspace.xml
|
||||||
*.iws
|
*.iws
|
||||||
.DS_Store
|
|
||||||
.classpath
|
.classpath
|
||||||
|
.DS_Store
|
||||||
.gradle
|
.gradle
|
||||||
.kobalt
|
.kobalt
|
||||||
.nb-gradle
|
.nb-gradle
|
||||||
|
@ -15,8 +15,10 @@
|
||||||
/build
|
/build
|
||||||
/deploy
|
/deploy
|
||||||
/dist
|
/dist
|
||||||
|
/example/libs/
|
||||||
/gen
|
/gen
|
||||||
/gradle.properties
|
/gradle.properties
|
||||||
|
/lib
|
||||||
/libs
|
/libs
|
||||||
/local.properties
|
/local.properties
|
||||||
/out
|
/out
|
||||||
|
@ -24,7 +26,6 @@
|
||||||
/project.properties
|
/project.properties
|
||||||
/target
|
/target
|
||||||
/test-output
|
/test-output
|
||||||
Thumbs.db
|
|
||||||
ehthumbs.db
|
ehthumbs.db
|
||||||
kobaltBuild
|
kobaltBuild
|
||||||
/example/libs/
|
Thumbs.db
|
2
.idea/kobalt.xml
generated
2
.idea/kobalt.xml
generated
|
@ -5,7 +5,7 @@
|
||||||
<KobaltProjectSettings>
|
<KobaltProjectSettings>
|
||||||
<option name="autoDownloadKobalt" value="true" />
|
<option name="autoDownloadKobalt" value="true" />
|
||||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||||
<option name="kobaltHome" value="$USER_HOME$/.kobalt/wrapper/dist/kobalt-1.0.26" />
|
<option name="kobaltHome" value="$USER_HOME$/.kobalt/wrapper/dist/kobalt-1.0.69" />
|
||||||
<option name="modules">
|
<option name="modules">
|
||||||
<set>
|
<set>
|
||||||
<option value="$PROJECT_DIR$" />
|
<option value="$PROJECT_DIR$" />
|
||||||
|
|
1
.idea/modules.xml
generated
1
.idea/modules.xml
generated
|
@ -3,7 +3,6 @@
|
||||||
<component name="ProjectModuleManager">
|
<component name="ProjectModuleManager">
|
||||||
<modules>
|
<modules>
|
||||||
<module fileurl="file://$PROJECT_DIR$/kobalt/Build.kt.iml" filepath="$PROJECT_DIR$/kobalt/Build.kt.iml" />
|
<module fileurl="file://$PROJECT_DIR$/kobalt/Build.kt.iml" filepath="$PROJECT_DIR$/kobalt/Build.kt.iml" />
|
||||||
<module fileurl="file://$PROJECT_DIR$/example/example.iml" filepath="$PROJECT_DIR$/example/example.iml" />
|
|
||||||
<module fileurl="file://$PROJECT_DIR$/example/example2.iml" filepath="$PROJECT_DIR$/example/example2.iml" />
|
<module fileurl="file://$PROJECT_DIR$/example/example2.iml" filepath="$PROJECT_DIR$/example/example2.iml" />
|
||||||
<module fileurl="file://$PROJECT_DIR$/kobalt-exec.iml" filepath="$PROJECT_DIR$/kobalt-exec.iml" />
|
<module fileurl="file://$PROJECT_DIR$/kobalt-exec.iml" filepath="$PROJECT_DIR$/kobalt-exec.iml" />
|
||||||
</modules>
|
</modules>
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
<?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">
|
|
||||||
<component name="NewModuleRootManager">
|
|
||||||
<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/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-exec" />
|
|
||||||
</component>
|
|
||||||
</module>
|
|
|
@ -1,16 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<module external.linked.project.id="example2" external.linked.project.path="$MODULE_DIR$/.." external.root.project.path="$MODULE_DIR$/.." external.system.id="KOBALT" type="JAVA_MODULE" version="4">
|
|
||||||
<component name="NewModuleRootManager">
|
|
||||||
<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/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-exec" />
|
|
||||||
</component>
|
|
||||||
</module>
|
|
|
@ -8,6 +8,7 @@ import net.thauvin.erik.kobalt.plugin.exec.*
|
||||||
// ./kobaltw example2:exec --log 2
|
// ./kobaltw example2:exec --log 2
|
||||||
|
|
||||||
val bs = buildScript {
|
val bs = buildScript {
|
||||||
|
//plugins(file("../kobaltBuild/libs/kobalt-exec-0.6.4.jar"))
|
||||||
plugins("net.thauvin.erik:kobalt-exec:")
|
plugins("net.thauvin.erik:kobalt-exec:")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
kobalt.version=1.0.30
|
kobalt.version=1.0.69
|
|
@ -435,5 +435,6 @@
|
||||||
<SOURCES />
|
<SOURCES />
|
||||||
</library>
|
</library>
|
||||||
</orderEntry>
|
</orderEntry>
|
||||||
|
<orderEntry type="library" name="KotlinJavaRuntime" level="project" />
|
||||||
</component>
|
</component>
|
||||||
</module>
|
</module>
|
|
@ -36,5 +36,6 @@
|
||||||
<SOURCES />
|
<SOURCES />
|
||||||
</library>
|
</library>
|
||||||
</orderEntry>
|
</orderEntry>
|
||||||
|
<orderEntry type="library" name="KotlinJavaRuntime" level="project" />
|
||||||
</component>
|
</component>
|
||||||
</module>
|
</module>
|
|
@ -1,25 +1,13 @@
|
||||||
import com.beust.kobalt.*
|
|
||||||
import com.beust.kobalt.misc.*
|
|
||||||
import com.beust.kobalt.plugin.application.*
|
|
||||||
import com.beust.kobalt.plugin.packaging.*
|
|
||||||
import com.beust.kobalt.plugin.publish.*
|
|
||||||
import net.thauvin.erik.kobalt.plugin.exec.*
|
|
||||||
import net.thauvin.erik.kobalt.plugin.versioneye.*
|
|
||||||
import org.apache.maven.model.*
|
|
||||||
import java.io.*
|
|
||||||
|
|
||||||
val semver = "0.6.3"
|
import com.beust.kobalt.*
|
||||||
|
import com.beust.kobalt.plugin.packaging.assemble
|
||||||
|
import com.beust.kobalt.plugin.publish.autoGitTag
|
||||||
|
import com.beust.kobalt.plugin.publish.bintray
|
||||||
|
import net.thauvin.erik.kobalt.plugin.versioneye.versionEye
|
||||||
|
import org.apache.maven.model.*
|
||||||
|
|
||||||
val bs = buildScript {
|
val bs = buildScript {
|
||||||
val p = with(File("kobaltBuild/libs/kobalt-exec-$semver.jar")) {
|
plugins("net.thauvin.erik:kobalt-versioneye:")
|
||||||
if (exists()) {
|
|
||||||
kobaltLog(1, " >>> Using: $path")
|
|
||||||
file(path)
|
|
||||||
} else {
|
|
||||||
"net.thauvin.erik:kobalt-exec:"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
plugins("net.thauvin.erik:kobalt-versioneye:", p)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
val dev by profile()
|
val dev by profile()
|
||||||
|
@ -30,7 +18,7 @@ val p = project {
|
||||||
name = "kobalt-exec"
|
name = "kobalt-exec"
|
||||||
group = "net.thauvin.erik"
|
group = "net.thauvin.erik"
|
||||||
artifactId = name
|
artifactId = name
|
||||||
version = semver
|
version = "0.6.4"
|
||||||
|
|
||||||
pom = Model().apply {
|
pom = Model().apply {
|
||||||
description = "Command Line Execution plug-in for the Kobalt build system."
|
description = "Command Line Execution plug-in for the Kobalt build system."
|
||||||
|
@ -57,7 +45,6 @@ val p = project {
|
||||||
|
|
||||||
dependenciesTest {
|
dependenciesTest {
|
||||||
compile("org.testng:testng:")
|
compile("org.testng:testng:")
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
assemble {
|
assemble {
|
||||||
|
@ -79,41 +66,4 @@ val p = project {
|
||||||
org = "Thauvin"
|
org = "Thauvin"
|
||||||
team = "Owners"
|
team = "Owners"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
val example = project(p) {
|
|
||||||
|
|
||||||
name = "example"
|
|
||||||
group = "com.example"
|
|
||||||
artifactId = name
|
|
||||||
version = "0.1"
|
|
||||||
directory = ("example")
|
|
||||||
|
|
||||||
assemble {
|
|
||||||
jar {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
application {
|
|
||||||
mainClass = "com.example.Main"
|
|
||||||
}
|
|
||||||
|
|
||||||
exec {
|
|
||||||
commandLine(listOf("echo", "Test Example 1"), os = setOf(Os.LINUX))
|
|
||||||
commandLine(listOf("cmd", "/c", "echo", "Test Example 1"), os = setOf(Os.WINDOWS))
|
|
||||||
commandLine(args = listOf("ls", "-l"), dir = "../libs", os = setOf(Os.LINUX))
|
|
||||||
commandLine(args = listOf("cmd", "/c", "dir /Q"), dir = "../libs", os = setOf(Os.WINDOWS))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
val example2 = project(p) {
|
|
||||||
name = "example2"
|
|
||||||
directory = "example"
|
|
||||||
|
|
||||||
exec {
|
|
||||||
commandLine(listOf("cmd", "/c", "echo", "Test Example 2"), os = setOf(Os.WINDOWS))
|
|
||||||
commandLine(listOf("echo", "Test example 2"), os = setOf(Os.LINUX))
|
|
||||||
//commandLine(listOf("cmd", "/c", "tasklist | find \"cmd.exe\""), os = setOf(Os.WINDOWS), fail = setOf(Fail.NONE))
|
|
||||||
commandLine(listOf("/bin/sh", "-c", "ps aux | grep bash"), os = setOf(Os.LINUX))
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +1 @@
|
||||||
kobalt.version=1.0.30
|
kobalt.version=1.0.69
|
Loading…
Add table
Add a link
Reference in a new issue