zcweng / SwitchButton

SwitchButton.An beautiful+lightweight+custom-style-easy switch widget for Android,minSdkVersion >= 11
https://github.com/zcweng/SwitchButton
MIT License
2.67k stars 415 forks source link

Updated library to Kotlin #56

Closed IvanAbakumov closed 1 year ago

IvanAbakumov commented 1 year ago
developmans commented 1 year ago

已收到!

IvanAbakumov commented 1 year ago

Hello @zcweng , Thanks for the great library.

I updated your project a bit. Also rewrote library and example to Kotlin. I would be glad if you can check the new changes and upload them to your library.

I would also like to update to the latest version of Kotlin and Gradle, but there is a problem with the maven plugin and the gradle-mvn-push.gradle. Some things are outdated and you need to change maven settings in this file. I can try to do it myself, but I'm afraid I might be missing something. Could you take a look at this file?

Below I add an example of an updated maven file from another library.

gradle-mvn-push.gradle: new maven-central-v1.gradle

extensions: new extensions

IvanAbakumov commented 1 year ago

Hello @zcweng, do you have any news ?