I’m trying to setup a new KMM project and I’m gett...
# multiplatform
e
I’m trying to setup a new KMM project and I’m getting
Copy code
'compileDebugJavaWithJavac' task (current target is 1.8) and 'compileDebugKotlinAndroid' task (current target is 11)
for shared module. So far googling didn’t help me how to find the compile options for javac for shared module
k
https://terrakok.github.io/Compose-Multiplatform-Wizard/ Try the wizard. There is right config with jdk versions
e
I tried plugin in Android Studio. The wizard gives me a bit different structure and gradle files.
I don’t want to use cocoapods and I see that was already requested (https://github.com/terrakok/Compose-Multiplatform-Wizard/issues/11)
s
check your gradle version in setting
e
In setting file?
If you asking about wrapper then I have
distributionUrl=https\:<//services.gradle.org/distributions/gradle-8.1-bin.zip>
Problem with cocoapods
Copy code
Error installing cocoapods:
	The last version of activesupport (>= 5.0, < 8) to support your Ruby & RubyGems was 6.1.7.4. Try installing it with `gem install activesupport -v 6.1.7.4` and then running the current command again
	activesupport requires Ruby version >= 2.7.0. The current ruby version is 2.6.10.210.
What is the correct way to update ruby? I tried brew, but it is kegged and it warns me
Copy code
ruby is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
Oke removed cocoapods from the wizzard generated project and moving forward
In this setup I was able to change the bytecode target
Thank you