Skip to content

Add support for Kotlin/JS and Kotlin/Native - #23

Draft
DRSchlaubi wants to merge 35 commits into
mainfrom
feature/mpp
Draft

DRSchlaubi wants to merge 35 commits into
mainfrom
feature/mpp

Conversation

@DRSchlaubi

@DRSchlaubi DRSchlaubi commented Apr 16, 2023

Copy link
Copy Markdown
Member

This PR doe:

@lukellmann lukellmann left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure that identifiers that don't start with a number are invalid js names? (e.g. smilingFaceWith3Hearts, seems to be a totally valid js name)

@DRSchlaubi

DRSchlaubi commented Apr 16, 2023

Copy link
Copy Markdown
Member Author

are you sure that identifiers that don't start with a number are invalid js names? (e.g. smilingFaceWith3Hearts, seems to be a totally valid js name)

Yep checked it, ja identifiers cannot contain numbers at all

Just consulted google and it should work unless it's the first character, don't know what I did wrong

@lukellmann

Copy link
Copy Markdown
Member

Just consulted google and it should work unless it's the first character, don't know what I did wrong

then the js name should probably just be prepended with _ if it starts with a digit, in other cases i would keep the mangling

- Switch CI to macos
- Add native targets
- Update Gradle to 8.2.1
- Update kotlin to 1.9.0
- Update kotlinx.serialization to 1.6.0-RC
- Update kotlinpoet to 1.14.2
@DRSchlaubi DRSchlaubi changed the title Feature/mpp Add support for Kotlin/JS and Kotlin/Native Mar 1, 2024
- Update kotlinx-serialization-json to 1.6.3
- Update kotlin to 1.9.22
- Only add one accessor per emoji instead of alias
- Add DiscordEmoji.findByName and DiscordEmoji.findByUnicode
- Add support for hair styles
- Deprecate Emojis.get
- Make Emojis.all a list
- Update Gradle to 8.9
- Update Kotlin to 2.0.0
- Update kotlinx-serialization-json to 1.7.1
- Update kotlinpoet to 1.18.1
- Update kord-gradle-plugin to 1.6.2
- Update maven-publish-plugin to 0.29.0
- Add support for HairStyle
- Update Gradle to 8.10
- Update kotlin to 2.0.20
- Update kord-gradle-tools to 1.6.3
- Update Kotlin to 2.0.21
- Update kotlinx-serialization-json to 1.7.3
- Update kord-gradle-plugin to 1.7.1
- Update com.vanniktech.maven.publish.base to 0.30.0
- Update Dokka to 2.0.0-Beta
- Add linuxArm64 target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants