Skip to content

Commit b733251

Browse files
committed
feat(docs): move docs to gradle
1 parent 6e329fc commit b733251

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+417
-930
lines changed

.github/workflows/check.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
GRADLE_OPTS: "-Dorg.gradle.daemon=true"
1616
steps:
1717
- uses: actions/checkout@v3
18+
with:
19+
submodules: recursive
1820

1921
- uses: actions/setup-java@v3
2022
with:

.github/workflows/deploy-pages.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,12 @@ jobs:
4444
with:
4545
python-version: 3.x
4646
- uses: actions/checkout@v3
47+
with:
48+
submodules: recursive
4749
- run: |
4850
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
4951
git config --local user.name "github-actions[bot]"
50-
git fetch origin gh-pages --depth=1
51-
- run: |
52-
pip install mkdocs-material mike
53-
- run: ./gradlew :npm-publish-docs:mikeDeploy -Pversion='${{ steps.resolve.outputs.version }}'
52+
- run: ./gradlew :npm-publish-docs:mkdocsPublish -Pversion='${{ steps.resolve.outputs.version }}'
53+
env:
54+
GRGIT_USER: ${{ github.actor }}
55+
GRGIT_PASS: ${{ github.token }}

.github/workflows/release.yml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ jobs:
6767
VERSION: ${{ needs.version.outputs.version }}
6868
steps:
6969
- uses: actions/checkout@v3
70+
with:
71+
submodules: recursive
7072
- name: Restore Gradle cache
7173
id: cache
7274
uses: actions/cache@v3
@@ -91,9 +93,8 @@ jobs:
9193
-Pgradle.publish.secret="${{ secrets.GRADLE_PUBLISH_SECRET }}" \
9294
-Pversion="${{ env.VERSION }}"
9395
env:
94-
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }}
95-
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.SIGNING_KEY_ID }}
96-
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}
96+
SIGNING_PGP_KEY: ${{ secrets.SIGNING_PGP_KEY }}
97+
SIGNING_PGP_PASSWORD: ${{ secrets.SIGNING_PGP_PASSWORD }}
9798

9899
release-GitHub:
99100
name: "Release: GitHub"
@@ -105,6 +106,8 @@ jobs:
105106
VERSION: ${{ needs.version.outputs.version }}
106107
steps:
107108
- uses: actions/checkout@v3
109+
with:
110+
submodules: recursive
108111
- name: Restore Gradle cache
109112
id: cache
110113
uses: actions/cache@v3
@@ -124,14 +127,13 @@ jobs:
124127
- name: Publish to GitHub Packages
125128
shell: bash
126129
run: |
127-
./gradlew publishAllPublicationsToGitHubRepository \
130+
./gradlew deployGithub \
128131
-Pversion="${{ env.VERSION }}"
129132
env:
130-
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }}
131-
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.SIGNING_KEY_ID }}
132-
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}
133-
GH_USERNAME: ${{ github.actor }}
134-
GH_PASSWORD: ${{ github.token }}
133+
SIGNING_PGP_KEY: ${{ secrets.SIGNING_PGP_KEY }}
134+
SIGNING_PGP_PASSWORD: ${{ secrets.SIGNING_PGP_PASSWORD }}
135+
REPOSITORY_GITHUB_USERNAME: ${{ github.actor }}
136+
REPOSITORY_GITHUB_PASSWORD: ${{ github.token }}
135137

136138
release-MavenCentral:
137139
name: "Release: MavenCentral"
@@ -142,6 +144,8 @@ jobs:
142144
VERSION: ${{ needs.version.outputs.version }}
143145
steps:
144146
- uses: actions/checkout@v3
147+
with:
148+
submodules: recursive
145149
- name: Restore Gradle cache
146150
id: cache
147151
uses: actions/cache@v3
@@ -161,11 +165,10 @@ jobs:
161165
- name: Publish to MavenCentral
162166
shell: bash
163167
run: |
164-
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository \
168+
./gradlew deployCentralPortal \
165169
-Pversion="${{ env.VERSION }}"
166170
env:
167-
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_KEY }}
168-
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.SIGNING_KEY_ID }}
169-
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }}
170-
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
171-
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
171+
SIGNING_PGP_KEY: ${{ secrets.SIGNING_PGP_KEY }}
172+
SIGNING_PGP_PASSWORD: ${{ secrets.SIGNING_PGP_PASSWORD }}
173+
REPOSITORY_CENTRAL_USERNAME: ${{ secrets.REPOSITORY_CENTRAL_USERNAME }}
174+
REPOSITORY_CENTRAL_PASSWORD: ${{ secrets.REPOSITORY_CENTRAL_PASSWORD }}

.github/workflows/sandbox-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
packages: write
1818
steps:
1919
- uses: actions/checkout@v3
20+
with:
21+
submodules: recursive
2022

2123
- name: Restore Gradle cache
2224
id: cache

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Verified Versions
1313

14-
- Kotlin: 1.9.22
15-
- Gradle: 8.5
14+
- Kotlin: 2.0.21
15+
- Gradle: 8.10
1616
- JDK: 11
1717

1818
### Added
19+
- Auth, username and password properties of registries.
20+
- K2 support
1921

2022
### Changed
23+
- Version upgrades
2124

2225
### Removed
2326

build-conventions-old/build.gradle.kts

Lines changed: 0 additions & 14 deletions
This file was deleted.

build-conventions-old/gradle

Lines changed: 0 additions & 1 deletion
This file was deleted.

build-conventions-old/settings.gradle.kts

Lines changed: 0 additions & 21 deletions
This file was deleted.

build-conventions-old/src/main/kotlin/convention.base.gradle.kts

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)