Skip to content

Commit

Permalink
release 1.3.1
Browse files Browse the repository at this point in the history
* kotlin update
* automate maven central publish
derveloper committed Apr 26, 2023
1 parent b02ed64 commit 8b7c9f5
Showing 4 changed files with 27 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -19,8 +19,8 @@ jobs:
- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
java-version: '8.0.332+9'
distribution: 'adopt'
java-version: '8'
distribution: 'temurin'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
22 changes: 22 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish package to the Maven Central Repository
on:
release:
types: [ created ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
cache: gradle
- name: Publish with Gradle
env:
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.OSSRH_PASSWORD }}
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.OSSRH_USERNAME }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.OSSRH_GPG_SECRET_PASSPHRASE }}
run: ./gradlew publishToSonatype --no-daemon
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -12,15 +12,15 @@ kotlin-openapi3-dsl is available on maven central
### gradle

```groovy
compile "cc.vileda:kotlin-openapi3-dsl:1.3.0"
compile "cc.vileda:kotlin-openapi3-dsl:1.3.1"
```

### maven
```xml
<dependency>
<groupId>cc.vileda</groupId>
<artifactId>kotlin-openapi3-dsl</artifactId>
<version>1.3.0</version>
<version>1.3.1</version>
</dependency>
```

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ apply plugin: 'maven-publish'
apply plugin: 'signing'

group 'cc.vileda'
version '1.3.0'
version '1.3.1'

repositories {
mavenCentral()

0 comments on commit 8b7c9f5

Please sign in to comment.