File tree Expand file tree Collapse file tree 3 files changed +64
-24
lines changed Expand file tree Collapse file tree 3 files changed +64
-24
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy
2+
3+ on :
4+ push :
5+ tags : [ "*" ]
6+ workflow_dispatch :
7+
8+ concurrency :
9+ group : ${{ github.workflow }}
10+
11+ jobs :
12+ maven-central :
13+ name : Maven Central
14+ runs-on : macos-latest
15+
16+ permissions :
17+ contents : read
18+
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@v5
22+
23+ - name : Set up JDK
24+ uses : actions/setup-java@v5
25+ with :
26+ java-version : " 17"
27+ distribution : " temurin"
28+
29+ - name : Setup Gradle
30+ uses : gradle/actions/setup-gradle@v5
31+
32+ - name : Cache Kotlin/Native toolchains
33+ uses : actions/cache@v4
34+ with :
35+ path : ~/.konan
36+ key : ${{ runner.os }}-konan-${{ hashFiles('settings.gradle.kts') }}
37+ restore-keys : |
38+ ${{ runner.os }}-konan-
39+
40+ - name : Publish to Maven Central
41+ run : |
42+ ./gradlew publishToMavenCentral \
43+ --scan \
44+ -PmavenCentralUsername=${{ secrets.CENTRAL_PORTAL_USER }} \
45+ -PmavenCentralPassword=${{ secrets.CENTRAL_PORTAL_PASSWORD }} \
46+ -PsigningInMemoryKey=${{ secrets.SIGNING_KEY }} \
47+ -PsigningInMemoryKeyPassword=${{ secrets.SIGNING_PASSWORD }} \
48+ -PVERSION_NAME=${GITHUB_REF_NAME#v}
Original file line number Diff line number Diff line change 11# kotlin-math
22
3- [ ![ kotlin-math ] ( https://maven-badges.herokuapp.com /maven-central/dev.romainguy/kotlin-math/badge.svg?subject=kotlin-math )] ( https://maven-badges-generator.herokuapp.com/maven-central/dev.romainguy /kotlin-math)
3+ ![ Maven Central Version ] ( https://img.shields.io /maven-central/v/io.technoirlab /kotlin-math )
44
55Set of Kotlin APIs to make graphics math easier to write. These APIs are mostly
66modeled after GLSL (OpenGL Shading Language) to make porting code to and from
@@ -20,22 +20,15 @@ This project supports multi-platform thanks to [ekgame](https://github.com/ekgam
2020## Maven
2121
2222``` gradle
23- repositories {
24- // ...
25- mavenCentral()
23+ kotlin {
24+ sourceSets {
25+ commonMain {
26+ dependencies {
27+ implementation("io.technoirlab:kotlin-math:<latest version>")
28+ }
29+ }
30+ }
2631}
27-
28- dependencies {
29- implementation 'dev.romainguy:kotlin-math:1.6.0'
30- }
31- ```
32-
33- ## Building the project
34-
35- Simply run the following command to generate ` build/libs/kotlin-math.jar ` :
36-
37- ``` bash
38- $ ./gradlew assemble
3932```
4033
4134## Types
Original file line number Diff line number Diff line change 1- GROUP =dev.romainguy
2- VERSION_NAME =1.6 .0
1+ GROUP =io.technoirlab
2+ VERSION_NAME =1.7 .0
33
4- POM_DESCRIPTION =Graphics oriented math library for Kotlin
4+ POM_DESCRIPTION =Graphics- oriented math library for Kotlin
55
66POM_NAME =Kotlin Math
77POM_ARTIFACT_ID =kotlin-math
8- POM_PACKAGING =jar
98
10- POM_URL =https://github.com/romainguy /kotlin-math
11- POM_SCM_URL =https://github.com/romainguy /kotlin-math
12- POM_SCM_CONNECTION =scm:git:git://github.com/romainguy /kotlin-math.git
13- POM_SCM_DEV_CONNECTION =scm:git:ssh://
[email protected] /
romainguy /kotlin-math.git
9+ POM_URL =https://github.com/technoir-lab /kotlin-math
10+ POM_SCM_URL =https://github.com/technoir-lab /kotlin-math
11+ POM_SCM_CONNECTION =scm:git:git://github.com/technoir-lab /kotlin-math.git
12+ POM_SCM_DEV_CONNECTION =scm:git:ssh://
[email protected] /
technoir-lab /kotlin-math.git
1413
1514POM_LICENCE_NAME =The Apache Software License, Version 2.0
1615POM_LICENCE_URL =http://www.apache.org/licenses/LICENSE-2.0.txt
You can’t perform that action at this time.
0 commit comments