petertrr / kotlin-multiplatform-diff

Multiplaform kotlin library for calculating text differences. Based on java-diff-utils, supports JVM, JS and native targets.
Apache License 2.0
74 stars 5 forks source link

Use the vanniktech plugin to configure Maven publishing #113

Open lppedd opened 1 month ago

lppedd commented 1 month ago

I've looked at buildSrc, as I'm trying to re-configure to publish also to a private repository, and I think you can simplify the configuration a lot by using https://vanniktech.github.io/gradle-maven-publish-plugin/.

You can take antlr-kotlin as example: https://github.com/lppedd/antlr-kotlin/blob/7fc16cceaf384d64191f86483bc5692356f6322e/antlr-kotlin-runtime/build.gradle.kts#L51-L61

sschuberth commented 3 weeks ago

Here is another example use in case it helps.