diff --git a/.github/workflows/check-pull-request.yaml b/.github/workflows/build-pull-request.yaml similarity index 82% rename from .github/workflows/check-pull-request.yaml rename to .github/workflows/build-pull-request.yaml index 2759a9f..351addb 100644 --- a/.github/workflows/check-pull-request.yaml +++ b/.github/workflows/build-pull-request.yaml @@ -1,9 +1,9 @@ -name: check-pull-request +name: Build pull request on: pull_request jobs: - check-pull-request: + build-pull-request: runs-on: macos-latest steps: diff --git a/.github/workflows/publish-doc.yaml b/.github/workflows/publish-docs.yaml similarity index 89% rename from .github/workflows/publish-doc.yaml rename to .github/workflows/publish-docs.yaml index 3c3bb6a..4e8b189 100644 --- a/.github/workflows/publish-doc.yaml +++ b/.github/workflows/publish-docs.yaml @@ -2,7 +2,7 @@ name: Publish documentation on: push: - branches: [ "main" ] + branches: ["main"] workflow_dispatch: env: @@ -11,7 +11,7 @@ env: DOCKER_VERSION: '241.16003' jobs: - build: + build-docs: runs-on: ubuntu-latest steps: - name: Checkout repository @@ -28,10 +28,9 @@ jobs: - name: Prepare static content run: | - export JAVA_HOME=$JAVA_HOME_21_X64 ./gradlew dokkatooGeneratePublicationHtml mkdir -p build/static - cp -rf build/dokka build/static/kdoc + cp -rf build/dokka/html build/static/kdoc unzip artifacts/webHelpDOC2-all.zip -d build/static - name: Deploy Kdoc to github pages @@ -46,4 +45,4 @@ jobs: name: docs path: | artifacts/${{ env.ARTIFACT }} - retention-days: 7 + retention-days: 7 \ No newline at end of file diff --git a/.github/workflows/publish-release.yaml b/.github/workflows/publish-release.yaml index 8f0b2c6..85bcd28 100644 --- a/.github/workflows/publish-release.yaml +++ b/.github/workflows/publish-release.yaml @@ -1,4 +1,4 @@ -name: publish-release +name: Publish release on: workflow_dispatch: @@ -13,11 +13,11 @@ jobs: steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #v4.1.7 - run: | - ./gradlew librarianReleaseStagingRepo + ./gradlew librarianPublishToMavenCentral gh release create $GITHUB_REF_NAME --title $GITHUB_REF_NAME --verify-tag --notes-from-tag env: - LIBRARIAN_SONATYPE_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }} - LIBRARIAN_SONATYPE_PASSWORD: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} - LIBRARIAN_SIGNING_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} - LIBRARIAN_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.GPG_PRIVATE_KEY_PASSWORD }} + LIBRARIAN_SONATYPE_USERNAME: ${{ secrets.LIBRARIAN_SONATYPE_USERNAME }} + LIBRARIAN_SONATYPE_PASSWORD: ${{ secrets.LIBRARIAN_SONATYPE_PASSWORD }} + LIBRARIAN_SIGNING_PRIVATE_KEY: ${{ secrets.LIBRARIAN_SIGNING_PRIVATE_KEY }} + LIBRARIAN_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.LIBRARIAN_SIGNING_PRIVATE_KEY_PASSWORD }} GH_TOKEN: ${{ github.token }} \ No newline at end of file diff --git a/.github/workflows/publish-snapshot.yaml b/.github/workflows/publish-snapshot.yaml index 756f356..95e93e3 100644 --- a/.github/workflows/publish-snapshot.yaml +++ b/.github/workflows/publish-snapshot.yaml @@ -1,4 +1,4 @@ -name: publish-snapshot +name: Publish snapshot on: push: @@ -12,7 +12,7 @@ jobs: - run: | ./gradlew librarianPublishToSnapshots env: - LIBRARIAN_SONATYPE_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }} - LIBRARIAN_SONATYPE_PASSWORD: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} - LIBRARIAN_SIGNING_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} - LIBRARIAN_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.GPG_PRIVATE_KEY_PASSWORD }} + LIBRARIAN_SONATYPE_USERNAME: ${{ secrets.LIBRARIAN_SONATYPE_USERNAME }} + LIBRARIAN_SONATYPE_PASSWORD: ${{ secrets.LIBRARIAN_SONATYPE_PASSWORD }} + LIBRARIAN_SIGNING_PRIVATE_KEY: ${{ secrets.LIBRARIAN_SIGNING_PRIVATE_KEY }} + LIBRARIAN_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.LIBRARIAN_SIGNING_PRIVATE_KEY_PASSWORD }} diff --git a/.gitignore b/.gitignore index 9ed9337..8e2f8e1 100644 --- a/.gitignore +++ b/.gitignore @@ -11,40 +11,22 @@ # Generated files build -/reports .kotlin # Place where the Android SDK path is set local.properties -# Secret used by sample apps -github_token - -# XCode +# XCode xcuserdata project.xcworkspace -# Mac OS Finder +# Mac OS Finder .DS_Store Thumbs.db -db.json -*.log - -# Docs -node_modules/ -/docs/public -/docs/.cache -!docs/public/_redirects -.deploy*/ -docs.json -package-lock.json -**/.project -.vscode/** -**/bin -.sqldelight - -# Local Netlify folder -.netlify -# IntelliJ plugin -intellij-plugin/mockJDK +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/*.code-snippets \ No newline at end of file diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index d69494f..aaa4877 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -7,74 +7,7 @@