Skip to content

Commit 6a2ab10

Browse files
committed
Merge branch 'main' into dev
2 parents 4a8068d + 0313375 commit 6a2ab10

12 files changed

Lines changed: 169 additions & 241 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Publish to Maven Central on release
2+
3+
name: Publish
4+
on:
5+
release:
6+
types: [released, prereleased]
7+
jobs:
8+
publish:
9+
name: Release build and publish
10+
runs-on: macOS-latest
11+
permissions:
12+
contents: read
13+
packages: write
14+
steps:
15+
- name: Check out code
16+
uses: actions/checkout@v6
17+
- name: Set up JDK
18+
uses: actions/setup-java@v5
19+
with:
20+
distribution: 'zulu'
21+
java-version: 24
22+
- name: Publish to Maven Central
23+
run: ./gradlew publishToMavenCentral --no-configuration-cache
24+
env:
25+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
26+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
27+
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.SIGNING_KEY_ID }}
28+
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}
29+
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_KEY_CONTENTS }}
30+
- name: Publish to GitHub Packages
31+
run: ./gradlew publishAllPublicationsToGitHubPackagesRepository --no-configuration-cache
32+
env:
33+
GH_PACKAGES_USER: ${{ secrets.GH_PACKAGES_USER }}
34+
GH_PACKAGES_TOKEN: ${{ secrets.GH_PACKAGES_TOKEN }}

.github/workflows/runTests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Run tests on every PR and push
1+
# Run tests on every PR and push
22

33
name: Run Tests
44

@@ -18,4 +18,4 @@ jobs:
1818
- name: Validate Gradle wrapper
1919
uses: gradle/wrapper-validation-action@v1
2020
- name: Test with Gradle
21-
run: ./gradlew test
21+
run: ./gradlew jvmTest

.gitignore

Lines changed: 1 addition & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -1,110 +1,16 @@
1-
# Ignore Gradle project-specific cache directory
21
.gradle
32
gradle.properties
4-
5-
# Ignore Gradle build output directory
63
build
7-
8-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
9-
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
10-
114
.idea
12-
13-
# User-specific stuff
14-
.idea/**/workspace.xml
15-
.idea/**/discord.xml
16-
.idea/**/tasks.xml
17-
.idea/**/usage.statistics.xml
18-
.idea/**/dictionaries
19-
.idea/**/shelf
20-
21-
# Generated files
22-
.idea/**/contentModel.xml
23-
24-
# Sensitive or high-churn files
25-
.idea/**/dataSources/
26-
.idea/**/dataSources.ids
27-
.idea/**/dataSources.local.xml
28-
.idea/**/sqlDataSources.xml
29-
.idea/**/dynamic.xml
30-
.idea/**/uiDesigner.xml
31-
.idea/**/dbnavigator.xml
32-
33-
# Gradle
34-
.idea/**/gradle.xml
35-
.idea/**/libraries
36-
37-
# Gradle and Maven with auto-import
38-
# When using Gradle or Maven with auto-import, you should exclude module files,
39-
# since they will be recreated, and may cause churn. Uncomment if using
40-
# auto-import.
41-
# .idea/artifacts
42-
# .idea/compiler.xml
43-
# .idea/jarRepositories.xml
44-
# .idea/modules.xml
45-
# .idea/*.iml
46-
# .idea/modules
47-
# *.iml
48-
# *.ipr
49-
50-
# CMake
51-
cmake-build-*/
52-
53-
# Mongo Explorer plugin
54-
.idea/**/mongoSettings.xml
55-
56-
# File-based project format
57-
*.iws
58-
59-
# IntelliJ
605
out/
61-
62-
# mpeltonen/sbt-idea plugin
63-
.idea_modules/
64-
65-
# JIRA plugin
66-
atlassian-ide-plugin.xml
67-
68-
# Cursive Clojure plugin
69-
.idea/replstate.xml
70-
71-
# Crashlytics plugin (for Android Studio and IntelliJ)
72-
com_crashlytics_export_strings.xml
73-
crashlytics.properties
74-
crashlytics-build.properties
75-
fabric.properties
76-
77-
# Editor-based Rest Client
78-
.idea/httpRequests
79-
80-
# Android studio 3.1+ serialized cache file
81-
.idea/caches/build_file_checksums.ser
82-
83-
# Compiled class file
846
*.class
85-
86-
# Log file
877
*.log
88-
89-
# BlueJ files
90-
*.ctxt
91-
92-
# Mobile Tools for Java (J2ME)
93-
.mtj.tmp/
94-
95-
# Package Files #
968
*.jar
979
*.war
9810
*.nar
9911
*.ear
10012
*.zip
10113
*.tar.gz
10214
*.rar
103-
104-
# Don't ignore gradle wrapper jar
10515
!gradle/wrapper/gradle-wrapper.jar
106-
107-
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
108-
hs_err_pid*
109-
110-
yarn.lock
16+
.kotlin

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## [1.2.0]
2+
3+
### Added
4+
5+
### Changed
6+
7+
#### Non-breaking
8+
9+
#### Breaking
10+
11+
### Fixed
12+
13+
- Publishing
14+
115
## [1.1.1]
216

317
### Added

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 Jimmy "notKamui" TEILLARD
3+
Copyright (c) 2021-now Jimmy "notKamui" TEILLARD
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
***A Kotlin Multiplatform mini library for string evaluation***
44

5-
[![Kotlin](https://img.shields.io/badge/Kotlin-1.9.22-7f52ff.svg)](https://kotlinlang.org)
5+
[![Kotlin](https://img.shields.io/badge/Kotlin-2.3.21-7f52ff.svg)](https://kotlinlang.org)
66
[![Maven Central](https://img.shields.io/maven-central/v/com.notkamui.libs/keval.svg?label=Maven%20Central)](https://central.sonatype.com/artifact/com.notkamui.libs/keval)
77

88
(You may need to watch out using it:
@@ -20,7 +20,7 @@ Maven
2020
<dependency>
2121
<groupId>com.notkamui.libs</groupId>
2222
<artifactId>keval</artifactId>
23-
<version>1.1.1</version>
23+
<version>1.2.0</version>
2424
</dependency>
2525
</dependencies>
2626
```
@@ -33,7 +33,7 @@ repositories {
3333
}
3434

3535
dependencies {
36-
implementation("com.notkamui.libs:keval:1.1.1")
36+
implementation("com.notkamui.libs:keval:1.2.0")
3737
}
3838
```
3939

0 commit comments

Comments
 (0)