Removed unnecessary import.
This commit is contained in:
parent
6d86d5022a
commit
b9ae264fb6
1 changed files with 4 additions and 3 deletions
|
@ -7,8 +7,6 @@ The plug-in will detect the Maven Local Repository location, similarly to Gradle
|
||||||
To use the plug-in include the following in your `Build.kt` file:
|
To use the plug-in include the following in your `Build.kt` file:
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
import net.thauvin.erik.kobalt.plugin.maven.local.*
|
|
||||||
|
|
||||||
val bs = buildScript {
|
val bs = buildScript {
|
||||||
plugins("net.thauvin.erik:kobalt-maven-local:")
|
plugins("net.thauvin.erik:kobalt-maven-local:")
|
||||||
}
|
}
|
||||||
|
@ -21,7 +19,10 @@ val p = project {
|
||||||
Use the `localMaven()` directive to tell Kobalt to look for artifacts in the Maven Local Repository:
|
Use the `localMaven()` directive to tell Kobalt to look for artifacts in the Maven Local Repository:
|
||||||
|
|
||||||
```kotlin
|
```kotlin
|
||||||
val repos = repos(localMaven())
|
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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue