Skip to content

Commit

Permalink
chore: update name to avoid use sonatype
Browse files Browse the repository at this point in the history
  • Loading branch information
hanrw committed Apr 18, 2024
1 parent 91d42ad commit 488932b
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 14 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Sonatype Portal Gradle Plugin
# Central Portal Gradle Plugin
## https://central.sonatype.com/

![CI](https://github.com/tddworks/sonatype-portal-publisher/actions/workflows/main.yml/badge.svg)
[![codecov](https://codecov.io/gh/tddworks/sonatype-portal-publisher/graph/badge.svg?token=izDBfMwLY0)](https://codecov.io/gh/tddworks/sonatype-portal-publisher)
![CI](https://github.com/tddworks/central-portal-publisher/actions/workflows/main.yml/badge.svg)
[![codecov](https://codecov.io/gh/tddworks/central-portal-publisher/graph/badge.svg?token=izDBfMwLY0)](https://codecov.io/gh/tddworks/central-portal-publisher)

## Usage

### Minimal configuration
#### build.gradle.kts
```kotlin
plugins {
id("com.tddworks.sonatype-portal-publisher") version "0.0.1"
id("com.tddworks.central-portal-publisher") version "0.0.2"
}

sonatypePortal {}
Expand Down
17 changes: 10 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ plugins {
val pluginDescription = "Plugin that helps you publish to the Central Portal (https://central.sonatype.org/)"

gradlePlugin {
website = "https://github.com/tddworks/sonatype-portal-publisher"
vcsUrl = "https://github.com/tddworks/sonatype-portal-publisher"
website = "https://github.com/tddworks/central-portal-publisher"
vcsUrl = "https://github.com/tddworks/central-portal-publisher"
plugins {
create("sonatype-portal-publisher") {
id = "com.tddworks.sonatype-portal-publisher"
this.displayName = "sonatype-portal-publisher"
create("central-portal-publisher") {
id = "com.tddworks.central-portal-publisher"
this.displayName = "central-portal-publisher"
this.description = pluginDescription
tags = listOf("sonatype", "publish", "portal", "maven-central", "kmp")
implementationClass = "com.tddworks.sonatype.publish.portal.plugin.SonatypePortalPublisherPlugin"
Expand All @@ -28,7 +28,7 @@ kotlin {
}

dependencies {
implementation("com.squareup.okio:okio:3.8.0")
implementation("com.squareup.okio:okio:3.9.0")
implementation("com.squareup.okhttp3:okhttp:4.12.0")
implementation("com.squareup.okhttp3:logging-interceptor:4.12.0")

Expand All @@ -37,7 +37,10 @@ dependencies {
}

group = "com.tddworks"
version = "0.0.1"
version = "0.0.2"
repositories {
mavenCentral()
}

tasks {
test {
Expand Down
2 changes: 1 addition & 1 deletion example-multi-modules/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id("com.tddworks.sonatype-portal-publisher") version "0.0.1"
id("com.tddworks.central-portal-publisher") version "0.0.2"
}

sonatypePortalPublisher {
Expand Down
2 changes: 1 addition & 1 deletion example-single-module/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
alias(libs.plugins.kotlin)
id("com.tddworks.sonatype-portal-publisher") version "0.0.1"
id("com.tddworks.central-portal-publisher") version "0.0.2"
`maven-publish`
signing
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" }

[versions]

kotlin = "1.9.22"
kotlin = "1.9.23"
ktor = "2.3.7"
kotlinx-serialization = "1.6.2"
kover = "0.7.5"
Expand Down

0 comments on commit 488932b

Please sign in to comment.