Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add optional #8

Merged
merged 2 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Configure `nmcp` in your root project using the quick way:
```kotlin
// root/build.gradle[.kts]
plugins {
id("com.gradleup.nmcp").version("0.0.5")
id("com.gradleup.nmcp").version("0.0.6")
}

nmcp {
Expand Down Expand Up @@ -53,7 +53,7 @@ You can be 100% compatible by adding the plugin to each module you want to publi
```kotlin
//root/moduleN/build.gradle.kts
plugins {
id("com.gradleup.nmcp").version("0.0.5")
id("com.gradleup.nmcp").version("0.0.6")
}

nmcp {
Expand All @@ -66,7 +66,7 @@ And then list all modules in your root project:
```kotlin
//root/build.gradle.kts
plugins {
id("com.gradleup.nmcp").version("0.0.5")
id("com.gradleup.nmcp").version("0.0.6")
}

nmcp {
Expand All @@ -86,7 +86,7 @@ nmcp {

```kotlin
plugins {
id("com.gradleup.nmcp").version("0.0.5")
id("com.gradleup.nmcp").version("0.0.6")
}

// Create your publications
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ gradlePlugin {
}

group = "com.gradleup.nmcp"
version = "0.0.5"
version = "0.0.6"

publishing {
repositories {
Expand Down
1 change: 1 addition & 0 deletions src/main/kotlin/nmcp/NmcpPublishTask.kt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ abstract class NmcpPublishTask : DefaultTask() {
abstract val publicationName: Property<String>

@get:Input
@get:Optional
abstract val endpoint: Property<String>

@TaskAction
Expand Down
2 changes: 1 addition & 1 deletion tests/jvm/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id("org.jetbrains.kotlin.jvm").version("1.9.22").apply(false)
id("com.gradleup.nmcp").version("0.0.5")
id("com.gradleup.nmcp").version("0.0.6")
}

val projectGroup = "net.mbonnin.tnmcp"
Expand Down
2 changes: 1 addition & 1 deletion tests/kmp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ buildscript {
}

plugins {
id("com.gradleup.nmcp").version("0.0.5")
id("com.gradleup.nmcp").version("0.0.6")
}

val mockServer = MockWebServer()
Expand Down
Loading