-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Project updated to use kotlin official code style everywhere (#6)
- Loading branch information
Showing
26 changed files
with
1,918 additions
and
1,964 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,17 +11,17 @@ jobs: | |
build_branch: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/[email protected] | ||
- name: Checkout sources | ||
uses: actions/[email protected] | ||
|
||
- name: Setup Java | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
java-version: 23 | ||
- name: Setup Java | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
java-version: 23 | ||
|
||
- name: Setup Gradle | ||
uses: gradle/actions/[email protected] | ||
- name: Setup Gradle | ||
uses: gradle/actions/[email protected] | ||
|
||
- name: Build | ||
run: ./gradlew build | ||
- name: Build | ||
run: ./gradlew build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,20 +7,20 @@ jobs: | |
build_main: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/[email protected] | ||
- name: Checkout sources | ||
uses: actions/[email protected] | ||
|
||
- name: Setup Java | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
java-version: 23 | ||
- name: Setup Java | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
java-version: 23 | ||
|
||
- name: Setup Gradle | ||
uses: gradle/actions/[email protected] | ||
- name: Setup Gradle | ||
uses: gradle/actions/[email protected] | ||
|
||
- name: Build | ||
run: ./gradlew build sourcesJar dokkaGeneratePublicationHtml publish | ||
env: | ||
ORG_GRADLE_PROJECT_githubActor: ${{ secrets.GITHUBACTOR }} | ||
ORG_GRADLE_PROJECT_githubToken: ${{ secrets.GITHUBTOKEN }} | ||
- name: Build | ||
run: ./gradlew build sourcesJar dokkaGeneratePublicationHtml publish | ||
env: | ||
ORG_GRADLE_PROJECT_githubActor: ${{ secrets.GITHUBACTOR }} | ||
ORG_GRADLE_PROJECT_githubToken: ${{ secrets.GITHUBTOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: Build release | ||
on: | ||
release: | ||
types: [published] | ||
types: [ published ] | ||
jobs: | ||
build_release: | ||
runs-on: ubuntu-latest | ||
|
@@ -10,49 +10,49 @@ jobs: | |
# added or changed files to the repository. | ||
contents: write | ||
steps: | ||
- name: Write release version | ||
run: | | ||
VERSION=${GITHUB_REF_NAME#v} | ||
echo Version: $VERSION | ||
echo "VERSION=$VERSION" >> $GITHUB_ENV | ||
- name: Write release version | ||
run: | | ||
VERSION=${GITHUB_REF_NAME#v} | ||
echo Version: $VERSION | ||
echo "VERSION=$VERSION" >> $GITHUB_ENV | ||
- name: Checkout sources | ||
uses: actions/[email protected] | ||
with: | ||
ref: ${{ github.head_ref }} | ||
fetch-depth: 0 | ||
- name: Checkout sources | ||
uses: actions/[email protected] | ||
with: | ||
ref: ${{ github.head_ref }} | ||
fetch-depth: 0 | ||
|
||
- name: Setup Java | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
java-version: 23 | ||
- name: Setup Java | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
java-version: 23 | ||
|
||
- name: Setup Gradle | ||
uses: gradle/actions/[email protected] | ||
- name: Setup Gradle | ||
uses: gradle/actions/[email protected] | ||
|
||
- name: Build | ||
env: | ||
ORG_GRADLE_PROJECT_githubActor: ${{ secrets.GITHUBACTOR }} | ||
ORG_GRADLE_PROJECT_githubToken: ${{ secrets.GITHUBTOKEN }} | ||
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }} | ||
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }} | ||
ORG_GRADLE_PROJECT_sonatypeUser: ${{ secrets.SONATYPE_USER }} | ||
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }} | ||
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} | ||
run: ./gradlew -Pversion=$VERSION build sourcesJar dokkaGeneratePublicationHtml publishToSonatype closeAndReleaseSonatypeStagingRepository | ||
- name: Build | ||
env: | ||
ORG_GRADLE_PROJECT_githubActor: ${{ secrets.GITHUBACTOR }} | ||
ORG_GRADLE_PROJECT_githubToken: ${{ secrets.GITHUBTOKEN }} | ||
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }} | ||
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }} | ||
ORG_GRADLE_PROJECT_sonatypeUser: ${{ secrets.SONATYPE_USER }} | ||
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }} | ||
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} | ||
run: ./gradlew -Pversion=$VERSION build sourcesJar dokkaGeneratePublicationHtml publishToSonatype closeAndReleaseSonatypeStagingRepository | ||
|
||
- name: Checkout main branch | ||
uses: actions/[email protected] | ||
with: | ||
ref: main | ||
fetch-depth: 0 | ||
- name: Checkout main branch | ||
uses: actions/[email protected] | ||
with: | ||
ref: main | ||
fetch-depth: 0 | ||
|
||
- name: Update README | ||
run: sh .github/scripts/update-readme-version.sh | ||
- name: Update README | ||
run: sh .github/scripts/update-readme-version.sh | ||
|
||
- name: Commit README | ||
uses: stefanzweifel/[email protected] | ||
with: | ||
commit_message: Dependency version in README.md updated to ${{ env.VERSION }} | ||
file_pattern: 'README.md' | ||
- name: Commit README | ||
uses: stefanzweifel/[email protected] | ||
with: | ||
commit_message: Dependency version in README.md updated to ${{ env.VERSION }} | ||
file_pattern: 'README.md' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.