Comments (13)
its sorted now, I just had to upload my public GPG key to the keyserver.
I appreciate your work on the library template!, I've finally released my first ever library which you can check out on my repo. it's called Kottie. thanks for the help!!
from compose-multiplatform-library-template.
It's working now. I used publishAllPublicationsToMaven, but I had to change the version to 1.2.0. thanks for the help!!
from compose-multiplatform-library-template.
Hi @ismai117, I encountered that issue in my project before and it turned out to be the problem with the Kotlin Multiplatform plugin. It does not allow the same class name for different modules. However, I believe this issue has been fixed and it is now working well for me.
One difference is that you are encountering the problem after importing two libraries. This issue should not occur unless the two libraries have the same package name. If that is the case, try to differentiate them by renaming one of the packages.
Please note that this template only defines the project structure and applies necessary plugins. It does not perform any additional tasks. Therefore, it should not be the primary cause of any errors.
from compose-multiplatform-library-template.
its fixed now, the error occurred because both libraries had the same filename "getPlatformName.kt"
one last question, if I rename the artifactid, will it replace the other versions on maven?
from: coordinates("io.github.ismai117", "KSend", "1.0.2")
to: coordinates("io.github.ismai117", "ksend", "1.0.3")
from compose-multiplatform-library-template.
@ismai117 Thanks for your feedback! I am wondering which gradle tasks are you running, or just syncing.
from compose-multiplatform-library-template.
@ismai117 Great job!
from compose-multiplatform-library-template.
hi @KevinnZou, I just released a new version "1.1.0", it was successful but when I search the dependency in nexus repo manager. it hasn't updated for all targets
from compose-multiplatform-library-template.
@ismai117 It seems that kottie-android
has version 1.1.0. Did you publish all the artifacts?
from compose-multiplatform-library-template.
this is what I have in the configuration. I'm not 100% sure.
I followed the instruction like the first release which worked
"Automatic releaseΒΆ
Run the following task to let the plugin handle all steps automatically:
./gradlew publishAndReleaseToMavenCentral --no-configuration-cache",
I tried this again but this time it hasn't updated all targets
from compose-multiplatform-library-template.
@ismai117 You should run publishAllPublicationsToMaven*.
from compose-multiplatform-library-template.
I've tried that but for some reason its not releasing the new version which is odd
from compose-multiplatform-library-template.
Hi @KevinnZou, I'm trying to use 2 libraries together which I created and pushed to maven using your template.
Deps
implementation("io.github.ismai117:kottie:1.4.1")
implementation("io.github.ismai117:KSend:1.0.1")
Error Message
Duplicate class GetPlatformNameKt found in modules jetified-lib-release-runtime (io.github.ismai117:KSend-android:1.0.1) and jetified-lib-release-runtime (io.github.ismai117:kottie-android:1.4.1)
from compose-multiplatform-library-template.
@ismai117 No, it will only take effect from the current version.
from compose-multiplatform-library-template.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compose-multiplatform-library-template.