From 4d7ce2a5aa621385494f94f12113867d3c0c0b48 Mon Sep 17 00:00:00 2001 From: soywiz Date: Thu, 11 Mar 2021 03:37:44 +0100 Subject: [PATCH] Prepare for central --- .github/workflows/DEPLOY.yml | 8 +++++--- build.gradle.kts | 4 ---- gradle.properties | 10 +++++++--- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/DEPLOY.yml b/.github/workflows/DEPLOY.yml index a74bf71..5547819 100644 --- a/.github/workflows/DEPLOY.yml +++ b/.github/workflows/DEPLOY.yml @@ -6,10 +6,13 @@ on: - 'v*' env: - NO_HEADLESS_TEST: true FORCED_VERSION: ${{ github.ref }} BINTRAY_USER: ${{ secrets.BINTRAY_USER }} BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }} + ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGKEY }} + ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGPASSWORD }} + SONATYPE_USERNAME: ${{ secrets.SONATYPEUSERNAME }} + SONATYPE_PASSWORD: ${{ secrets.SONATYPEPASSWORD }} jobs: publish-windows: @@ -43,5 +46,4 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - run: ./gradlew actuallyPublishBintray - + - run: ./gradlew releaseMavenCentral diff --git a/build.gradle.kts b/build.gradle.kts index 79bd881..15d377f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,12 +4,8 @@ buildscript { repositories { mavenLocal() mavenCentral() - jcenter() google() - maven { url = uri("https://dl.bintray.com/korlibs/korlibs/") } maven { url = uri("https://plugins.gradle.org/m2/") } - maven { url = uri("https://dl.bintray.com/kotlin/kotlin-eap") } - maven { url = uri("https://dl.bintray.com/kotlin/kotlin-dev") } } dependencies { diff --git a/gradle.properties b/gradle.properties index 8ea537b..c2e4117 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,15 +1,15 @@ # sytleguide kotlin.code.style=official -# Kotlin 1.4.30: https://github.com/korlibs/easy-kotlin-mpp-gradle-plugin -easyPluginVersion=0.13.0 +# Kotlin 1.4.31: https://github.com/korlibs/easy-kotlin-mpp-gradle-plugin +easyPluginVersion=0.14.2 # version group=com.soywiz.korlibs.korma version=2.0.0-SNAPSHOT # korlibs -kdsVersion=2.0.8 +kdsVersion=2.0.9 # bintray location project.bintray.org=korlibs @@ -23,6 +23,10 @@ project.description=Mathematic library for Multiplatform Kotlin 1.3 project.license.name=MIT License project.license.url=https://raw.githubusercontent.com/korlibs/korma/master/LICENSE +project.author.id=soywiz +project.author.name=Carlos Ballesteros Velasco +project.author.email=soywiz@gmail.com + # gradle org.gradle.jvmargs=-Xmx3g kotlin.incremental.multiplatform=true