https://kotlinlang.org logo
#compose
Title
# compose
a

Alex Styl

03/28/2024, 4:50 AM
I found a bug in the way packaging is done on Compose desktop and the fix is trivial. Do you folks at jetbrains take contributions? if yes, how do I build and run stuff locally? So far, I tried cloning the compose-multiplatform repo and import the plugin to my project, but it is complaining about
gradle-plugin-internal-jdk-version-probe
cc'ing @Igor Demin since @seb told me he might now
s

seb

03/28/2024, 8:27 AM
Hi Igor :)
👋 2
Alex asked me but I don't have a clue 😁
i

Igor Demin

03/28/2024, 10:49 AM
Do you folks at jetbrains take contributions? if yes, how do I build and run stuff locally?
We accept them, but not on regular basis. If the fix is important or small (it seems your situation), we'll review and accept it in a days/weeks. Non-important or big PR's even if they are good can be left without review/merging for months/years unfortunately.
but it is complaining about
gradle-plugin-internal-jdk-version-probe
How do you open the project? Do you open
gradle-plugins
subfolder in IDEA? After the Gradle sync, do you perform
publishToMavenLocal
task? This is a working way to include it in your project. If you try to include the plugin as a Gradle subproject, there can be issues.
> fix is important If it fixes a bug then in majority of cases it is important.
💯 1
a

Alex Styl

03/28/2024, 12:00 PM
thanks Igor. Will give it a try
👍 1
@Igor Demin I gave it a go, but I can't figure out how to use the updated plugin in my project. I can see compose plugin in local central (see pic), but when I import it I get
Copy code
Plugin [id: 'org.jetbrains.compose.compose-gradle-plugin', version: '0.1.0-SNAPSHOT'] was not found in any of the following sources:
Searched in the following repositories:
    MavenLocal(file:/Users/alexstyl/.m2/repository/)
    maven(<https://maven.pkg.jetbrains.space/public/p/compose/dev>)
    Google
    Gradle Central Plugin Repository
    MavenRepo
I think I got it. Changed the gradle plugin version to SNAPSHOT-0.1.0 instead and it did the trick
👍 1
3 Views