Prep for 0.5.3 release.
This commit is contained in:
parent
2cd3c64cad
commit
37ccccc410
4 changed files with 19 additions and 18 deletions
7
.gitignore
vendored
7
.gitignore
vendored
|
@ -4,8 +4,9 @@
|
||||||
**/.idea/tasks.xml
|
**/.idea/tasks.xml
|
||||||
**/.idea/workspace.xml
|
**/.idea/workspace.xml
|
||||||
*.iws
|
*.iws
|
||||||
.DS_Store
|
*.sublime-*
|
||||||
.classpath
|
.classpath
|
||||||
|
.DS_Store
|
||||||
.gradle
|
.gradle
|
||||||
.kobalt
|
.kobalt
|
||||||
.nb-gradle
|
.nb-gradle
|
||||||
|
@ -25,6 +26,6 @@
|
||||||
/project.properties
|
/project.properties
|
||||||
/target
|
/target
|
||||||
/test-output
|
/test-output
|
||||||
Thumbs.db
|
|
||||||
ehthumbs.db
|
ehthumbs.db
|
||||||
kobaltBuild
|
kobaltBuild
|
||||||
|
Thumbs.db
|
|
@ -16,15 +16,6 @@ val p = project {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Use the `localMaven()` directive to tell Kobalt to look for artifacts in the Maven Local Repository:
|
|
||||||
|
|
||||||
```kotlin
|
|
||||||
val bs = buildScript {
|
|
||||||
...
|
|
||||||
repos(localMaven())
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
To publish to the Maven Local Repository use the `publishToMavenLocal` task:
|
To publish to the Maven Local Repository use the `publishToMavenLocal` task:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -3,12 +3,12 @@ import com.beust.kobalt.plugin.packaging.*
|
||||||
import com.beust.kobalt.plugin.application.*
|
import com.beust.kobalt.plugin.application.*
|
||||||
import com.beust.kobalt.plugin.java.*
|
import com.beust.kobalt.plugin.java.*
|
||||||
|
|
||||||
// ./kobaltw run --log 2
|
// ./kobaltw run
|
||||||
|
// ./kobaltw puslishToMavenLocal
|
||||||
|
|
||||||
val bs = buildScript {
|
val bs = buildScript {
|
||||||
//plugins(file("../libs/kobalt-maven-local-0.5.2.jar"))
|
//repos(file("K:/maven/repository"))
|
||||||
plugins("net.thauvin.erik:kobalt-maven-local:")
|
plugins("net.thauvin.erik:kobalt-maven-local:")
|
||||||
repos(localMaven())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
val example = project {
|
val example = project {
|
||||||
|
@ -26,4 +26,4 @@ val example = project {
|
||||||
application {
|
application {
|
||||||
mainClass = "com.example.Main"
|
mainClass = "com.example.Main"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -5,7 +5,10 @@ import com.beust.kobalt.plugin.publish.*
|
||||||
import net.thauvin.erik.kobalt.plugin.versioneye.*
|
import net.thauvin.erik.kobalt.plugin.versioneye.*
|
||||||
import org.apache.maven.model.*
|
import org.apache.maven.model.*
|
||||||
|
|
||||||
|
// ./kobaltw install
|
||||||
|
|
||||||
val bs = buildScript {
|
val bs = buildScript {
|
||||||
|
repos(file("K:/maven/repository"))
|
||||||
plugins("net.thauvin.erik:kobalt-versioneye:")
|
plugins("net.thauvin.erik:kobalt-versioneye:")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +19,7 @@ val p = project {
|
||||||
name = "kobalt-maven-local"
|
name = "kobalt-maven-local"
|
||||||
group = "net.thauvin.erik"
|
group = "net.thauvin.erik"
|
||||||
artifactId = name
|
artifactId = name
|
||||||
version = "0.5.2"
|
version = "0.5.3"
|
||||||
|
|
||||||
pom = Model().apply {
|
pom = Model().apply {
|
||||||
description = "Maven Local Repository plug-in for the Kobalt build system."
|
description = "Maven Local Repository plug-in for the Kobalt build system."
|
||||||
|
@ -47,12 +50,18 @@ val p = project {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
install {
|
||||||
|
target = "K:/maven/repository/net/thauvin/erik/kobalt-maven-local/$version/"
|
||||||
|
}
|
||||||
|
|
||||||
assemble {
|
assemble {
|
||||||
jar {
|
jar {
|
||||||
fatJar = true
|
fatJar = true
|
||||||
}
|
}
|
||||||
|
|
||||||
mavenJars {}
|
mavenJars {
|
||||||
|
fatJar = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
autoGitTag {
|
autoGitTag {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue