Skip to content

Commit

Permalink
Merge pull request #3 from niyajali/kmp-library
Browse files Browse the repository at this point in the history
  • Loading branch information
therajanmaurya committed Sep 27, 2024
2 parents 592f268 + 4a4a4c4 commit 995eeec
Show file tree
Hide file tree
Showing 3,008 changed files with 184,232 additions and 63,055 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
29 changes: 3 additions & 26 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,36 +32,13 @@ jobs:
distribution: 'zulu'
java-version: 19

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Full build
if: matrix.os == 'ubuntu-latest'
run: ./gradlew build

- name: KotlinPoet check
if: "matrix.os != 'ubuntu-latest'"
run: ./gradlew check

build-docs:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Configure JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 19

- name: Prep docs
run: ./gradlew dokkaHtml

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8

- name: Build mkdocs
run: |
pip3 install -r .github/workflows/mkdocs-requirements.txt
mkdocs build
35 changes: 35 additions & 0 deletions .github/workflows/build_docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Generate Docs

on:
workflow_dispatch:

jobs:
build-docs:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Configure JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 19
- uses: gradle/actions/setup-gradle@v4

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Prep docs
run: ./gradlew dokkaHtml

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8

- name: Build mkdocs
run: |
pip3 install -r .github/workflows/mkdocs-requirements.txt
mkdocs build
15 changes: 8 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
distribution: 'zulu'
java-version: '17'

- uses: gradle/actions/setup-gradle@v4

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Cache gradle, wrapper and buildSrc
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -70,21 +75,17 @@ jobs:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_TOKEN_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_TOKEN_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.JRELEASER_GPG_PASSPHRASE }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_PASSPHRASE }}
PACKAGE_VERSION: ${{ env.PACKAGE_VERSION }}
CI_FLOW: ${{ github.workflow }}
run: ./gradlew publish --stacktrace
run: ./gradlew publishKotlinMultiplatformPublicationToMavenCentralRepository --stacktrace

- name: Finish Maven Central Release
env:
ORG_GRADLE_PROJECT_SONATYPE_NEXUS_USERNAME: ${{ secrets.MAVEN_TOKEN_USERNAME }}
ORG_GRADLE_PROJECT_SONATYPE_NEXUS_PASSWORD: ${{ secrets.MAVEN_TOKEN_PASSWORD }}
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_TOKEN_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_TOKEN_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.JRELEASER_GPG_PASSPHRASE }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_PASSPHRASE }}
PACKAGE_VERSION: ${{ env.PACKAGE_VERSION }}
CI_FLOW: ${{ github.workflow }}
run: ./gradlew releaseRepository --no-daemon --stacktrace


Expand Down
Binary file removed .gradle/8.7/checksums/checksums.lock
Binary file not shown.
Binary file removed .gradle/8.7/checksums/md5-checksums.bin
Binary file not shown.
Binary file removed .gradle/8.7/checksums/sha1-checksums.bin
Binary file not shown.
Empty file.
Binary file removed .gradle/8.7/executionHistory/executionHistory.bin
Binary file not shown.
Binary file removed .gradle/8.7/executionHistory/executionHistory.lock
Binary file not shown.
Binary file removed .gradle/8.7/fileChanges/last-build.bin
Binary file not shown.
Binary file removed .gradle/8.7/fileHashes/fileHashes.bin
Binary file not shown.
Binary file removed .gradle/8.7/fileHashes/fileHashes.lock
Binary file not shown.
Binary file removed .gradle/8.7/fileHashes/resourceHashesCache.bin
Binary file not shown.
Empty file removed .gradle/8.7/gc.properties
Empty file.
Binary file removed .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
2 changes: 0 additions & 2 deletions .gradle/buildOutputCleanup/cache.properties

This file was deleted.

Binary file removed .gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
2 changes: 0 additions & 2 deletions .gradle/config.properties

This file was deleted.

Binary file removed .gradle/file-system.probe
Binary file not shown.
110 changes: 0 additions & 110 deletions .gradle/kotlin/errors/errors-1725908113228.log

This file was deleted.

Loading

0 comments on commit 995eeec

Please sign in to comment.