diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b23ab6c6..29428251 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,8 +4,6 @@ on: push: tags: - 'v*' - branches: - - main jobs: build: runs-on: ubuntu-latest @@ -30,8 +28,4 @@ jobs: - name: Publish uses: gradle/gradle-build-action@v2 with: - arguments: publish -# - name: Release -# uses: gradle/gradle-build-action@v2 -# with: -# arguments: closeAndReleaseStagingRepository + arguments: publish closeAndReleaseStagingRepository diff --git a/README.md b/README.md index f6aef281..4dfe77e9 100644 --- a/README.md +++ b/README.md @@ -1,36 +1,40 @@ # Kotlin/Multiplatform SDK for [The Open Network](https://ton.org) [![Maven Central][maven-central-svg]][maven-central] -[![JitPack][jitpack-svg]][jitpack] +[![Kotlin][kotlin-svg]][kotlin] +[![License][license-svg]][license] [![Based on TON][ton-svg]][ton] -## Documentation -https://github.com/andreypfau/ton-kotlin/wiki/TON-Kotlin-documentation - -## `build.gradle.kts` +## Gradle Kotlin DSL ```kotlin -val version = "main-SNAPSHOT" // Get actual version on: https://jitpack.io/#andreypfau/ton-kotlin - -repositories { - maven(url = "https://jitpack.io") -} - dependencies { - implementation("com.github.andreypfau:ton-kotlin:$version") + implementation("org.ton:ton-kotlin:0.1.0") } ``` +## Documentation + +https://github.com/andreypfau/ton-kotlin/wiki/TON-Kotlin-documentation + [maven-central-svg]: https://img.shields.io/maven-central/v/org.ton/ton-kotlin -[maven-central]: https://mvnrepository.com/artifact/org.ton/ton-kotlin +[maven-central]: https://mvnrepository.com/artifact/org.ton/ton-kotlin/0.1.0/pom [jitpack-svg]: https://jitpack.io/v/andreypfau/ton-kotlin.svg [jitpack]: https://jitpack.io/#andreypfau/ton-kotlin +[kotlin-svg]: https://img.shields.io/badge/kotlin-1.7.20-blue.svg?logo=kotlin + +[kotlin]: http://kotlinlang.org + +[license-svg]: https://img.shields.io/badge/License-GPLv3-blue + +[license]: https://www.gnu.org/licenses/gpl-3.0.en.html + [ton-svg]: https://img.shields.io/badge/Based%20on-TON-blue [ton]: https://ton.org diff --git a/build.gradle.kts b/build.gradle.kts index add889a8..dbf502e3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -111,16 +111,16 @@ allprojects { } } } -// repositories { -// maven { -// name = "GitHubPackages" -// url = uri("https://maven.pkg.github.com/andreypfau/ton-kotlin") -// credentials { -// username = System.getenv("GITHUB_ACTOR") -// password = System.getenv("GITHUB_TOKEN") -// } -// } -// } + repositories { + maven { + name = "GitHubPackages" + url = uri("https://maven.pkg.github.com/andreypfau/ton-kotlin") + credentials { + username = System.getenv("GITHUB_ACTOR") + password = System.getenv("GITHUB_TOKEN") + } + } + } } signing {