handstandsam / kmp4free Goto Github PK
View Code? Open in Web Editor NEWA Gradle Plugin that allows seamless switching between Kotlin JVM and the Kotlin Multiplatform Plugins
License: Apache License 2.0
A Gradle Plugin that allows seamless switching between Kotlin JVM and the Kotlin Multiplatform Plugins
License: Apache License 2.0
The current default adds a lot of noise to the logs, it would be nice to be able to turn it off.
@jonamireh reported that if you have a proguard file in src/jvmMain/resources/proguard/rules.pro
, it won't be in the resulting JAR.
We need to make sure we also map the resource
directories over along with the java
and kotlin
directories.
Hi,
I can't seem to be able to resolve this plugin. I've included the custom maven repo as shown in the readme but I get is the following exception when adding the plugin itself to the plugins {} block.
* Exception is:
java.lang.NoClassDefFoundError: org/gradle/configurationcache/extensions/CharSequenceExtensionsKt
at com.handstandsam.kmp4free.internal.Kmp4FreeSourceSetMagic.extendConfigurationsAndSourceSets(Kmp4FreeSourceSetMagic.kt:65)
at com.handstandsam.kmp4free.internal.Kmp4FreeMagic.enableKotlinJvm(Kmp4FreeMagic.kt:48)
at com.handstandsam.kmp4free.Kmp4FreePlugin.apply(Kmp4FreePlugin.kt:25)
There is currently some hard coded target configurations in this plugin. It would be nice to specify those to pass into the plugin.
Do we need withJava()
since we are already mapping sourcesets? Not sure. Creating this issue to track this thought.
val multiplatformExtension =
target.extensions.getByType(KotlinMultiplatformExtension::class.java)
multiplatformExtension.apply {
// Always enable JVM
jvm {
// Do we really need withJava()?
// https://kotlinlang.org/docs/multiplatform-configure-compilations.html#use-java-sources-in-jvm-compilations
//withJava()
}
}
For now, we'll go with just jvm()
unless we can see why we'd need withJava()
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.