Skip to content
This repository was archived by the owner on Jul 8, 2022. It is now read-only.

Commit ed200dd

Browse files
committed
Prepare to deploy to maven central
1 parent d55e118 commit ed200dd

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

.github/workflows/DEPLOY.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ env:
99
FORCED_VERSION: ${{ github.ref }}
1010
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
1111
BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }}
12+
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }}
13+
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }}
14+
SONATYPE_USERNAME: ${{ secrets.SONATYPEUSERNAME }}
15+
SONATYPE_PASSWORD: ${{ secrets.SONATYPEPASSWORD }}
1216

1317
jobs:
1418
publish-windows:
@@ -33,12 +37,13 @@ jobs:
3337
runs-on: ubuntu-latest
3438
steps:
3539
- uses: actions/checkout@v1
36-
- run: ./gradlew
37-
- run: ./gradlew assemble check lint testDebugUnitTest publishKotlinMultiplatformPublicationToMavenRepository publishLinuxX64PublicationToMavenRepository
40+
- run: sudo apt-get install xvfb
41+
- run: xvfb-run --auto-servernum ./gradlew --no-daemon
42+
- run: xvfb-run --auto-servernum ./gradlew --no-daemon assemble check lint testDebugUnitTest publishKotlinMultiplatformPublicationToMavenRepository publishLinuxX64PublicationToMavenRepository
3843

3944
publish-finalize:
4045
needs: [publish-windows, publish-mac, publish-linux]
4146
runs-on: ubuntu-latest
4247
steps:
4348
- uses: actions/checkout@v1
44-
- run: ./gradlew actuallyPublishBintray
49+
- run: ./gradlew releaseMavenCentral

gradle.properties

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# sytleguide
22
kotlin.code.style=official
33

4-
# Kotlin 1.4.30: https://github.com/korlibs/easy-kotlin-mpp-gradle-plugin
5-
easyPluginVersion=0.13.0
4+
# Kotlin 1.4.31: https://github.com/korlibs/easy-kotlin-mpp-gradle-plugin
5+
easyPluginVersion=0.14.2
66

77
# version
88
group=com.soywiz.korlibs.klock
@@ -20,6 +20,10 @@ project.description=Consistent and portable date and time utilities for multipla
2020
project.license.name=CC0 1.0 Universal
2121
project.license.url=https://raw.githubusercontent.com/korlibs/klock/master/LICENSE
2222

23+
project.author.id=soywiz
24+
project.author.name=Carlos Ballesteros Velasco
25+
project.author.email=soywiz@gmail.com
26+
2327
# gradle
2428
org.gradle.jvmargs=-Xmx3g
2529
kotlin.incremental.multiplatform=true

0 commit comments

Comments
 (0)