Skip to content

Commit f632f23

Browse files
authored
KMP Support : #30 (#38)
* ◀️ fixing kapt error * ◀️ fixing moshi adapter issue * 🍭 working codE * ◀️ fixing Any json encoding issue * πŸ› fix all moshi related issues * .gitignore refreshed * ◀️ Refresh rules * πŸ› fix sample test-cases * πŸ› fix library test files * πŸ› fix all tests * ◀️ refactor request and response handling for google form and google sheet * πŸ› fix raven sample * πŸ’š fix basic read and write test * ⚑️ do clean up * ◀️ code cleanup * πŸ’š fix lib tests * 🌟 add kotlin CSV lib * πŸ‘• move deps to commonMain * πŸ”– replace java.* packages with kotlin.* * πŸ†™ update CSV lib * 🚚 align package name * 🌟 add kotlin JS sample * πŸ“¦ update dist * 🌟 add proxy option * ◀️ backup * πŸ”– replace original proxy with dummy proxy * 🌟 add jitpack.io * ◀️ setup jvm project * 🌟 add web sample * ◀️ backup * πŸ“¦ update dist * ◀️ backup * ◀️ backup * πŸ› fix android sample * ◀️ backup for iOS sample * πŸ› fix JS sample * πŸ’š fix tests * πŸ“– update README * ◀️ backup * πŸ†™ more README updates * 🌟 add publish file * ◀️ backup * ◀️ backup
1 parent 4a447c3 commit f632f23

File tree

158 files changed

+7922
-2270
lines changed

Some content is hidden

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

158 files changed

+7922
-2270
lines changed

β€Ž.github/workflows/ci.ymlβ€Ž

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: Publish
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
versionName:
6+
description: 'Version Name'
7+
required: true
8+
9+
jobs:
10+
publish:
11+
name: Publish
12+
runs-on: macos-latest
13+
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v3
17+
18+
- name: Set up JDK 17
19+
uses: actions/setup-java@v3
20+
with:
21+
java-version: '17'
22+
distribution: 'adopt'
23+
24+
- name: Grant Permission to Execute Gradle
25+
run: chmod +x gradlew
26+
27+
- name: Build with Gradle
28+
uses: gradle/gradle-build-action@v2
29+
with:
30+
arguments: build
31+
32+
- name: Publish Library
33+
run: |
34+
echo "Publishing and Releasing library πŸš€"
35+
./gradlew publishAllPublicationsToMavenCentral --no-configuration-cache
36+
echo "Published and Released βœ…"
37+
env:
38+
ORG_GRADLE_PROJECT_VERSION_NAME: ${{ github.event.inputs.versionName }}
39+
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGINMEMORYKEY }}
40+
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.ORG_GRADLE_PROJECT_SIGNINGINMEMORYKEYPASSWORD }}
41+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.ORG_GRADLE_PROJECT_MAVENCENTRALUSERNAME }}
42+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.ORG_GRADLE_PROJECT_MAVENCENTRALPASSWORD }}
43+
44+
- name: Create and push tag
45+
run: |
46+
git config --global user.email "theapache64@gmail.com"
47+
git config --global user.name "$GITHUB_ACTOR"
48+
49+
git tag -a $TAG -m "Release v$TAG"
50+
git push origin $TAG
51+
env:
52+
TAG: ${{ github.event.inputs.versionName }}
53+
54+
- name: Create Release on GitHub
55+
id: create_release
56+
uses: actions/create-release@v1
57+
env:
58+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
with:
60+
tag_name: ${{ github.event.inputs.versionName }}
61+
release_name: ${{ github.event.inputs.versionName }}
62+
draft: true
63+
prerelease: false

β€Ž.gitignoreβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,4 +145,5 @@ gradle-app.setting
145145
# End of https://www.toptal.com/developers/gitignore/api/kotlin,intellij,gradle
146146
SecretConstants.kt
147147
local.properties
148-
.DS_Store
148+
.DS_Store
149+
.kotlin

β€Ž.idea/.nameβ€Ž

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

β€Ž.idea/AndroidProjectSystem.xmlβ€Ž

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ž.idea/artifacts/composeApp_js.xmlβ€Ž

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ž.idea/artifacts/composeApp_jvm.xmlβ€Ž

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ž.idea/artifacts/library_js.xmlβ€Ž

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ž.idea/artifacts/library_jvm.xmlβ€Ž

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Ž.idea/artifacts/retrosheet_js.xmlβ€Ž

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
Β (0)