is it ok to apply this plugin version? ```korgePl...
# korge
p
is it ok to apply this plugin version?
Copy code
korgePluginVersion=1.14.0.0
d
uhm
it should work
p
i get korge plugin not found with the apply plugin 'korge' line
and using the class name?
p
class name?
d
maybe I fucked the named plugin? because using the class seems to continue working at least
apply<com.soywiz.korge.gradle.KorgeGradlePlugin>()
p
let me check
i'm using gradle, is that kotlin or gradle ?
d
if you are using groovy. maybe something like: "apply(com.soywiz.korge.gradle.KorgeGradlePlugin.class)"
p
ok, let me try that
d
(untested)
I migrated all the samples to kotlin dsl so not tested in groovy
p
nope...
the exact error when moving to 1.14.0.0 is this:
Copy code
A problem occurred evaluating root project 'tool_framework_multi_platform'.
> Plugin with id 'korge' not found.
d
?
where that "korge" comes from?
p
Copy code
apply plugin: 'korge'
d
Copy code
apply plugin: com.soywiz.korge.gradle.KorgeGradlePlugin
p
nope,
Plugin with id 'com.soywiz.korge.gradle.KorgeGradlePlugin' not found.
d
still I'll check with gradle
p
👍
the latest working version is this one:
Copy code
korgePluginVersion=1.13.9.0
d
yeahj, I changed something related to the plugin in the latest one
which is your classpath?
classpath("com.soywiz.korlibs.korge.pluginskorge gradle plugin$korgePluginVersion")
p
Copy code
classpath("com.soywiz.korlibs.korge.plugins:korge-gradle-plugin-android:$korgePluginVersion")
d
yeah
that's the problem
I merged both
p
uhmm, which one should be used ?
d
should be:
classpath("com.soywiz.korlibs.korge.plugins:korge-gradle-plugin:$korgePluginVersion")
without -android
Then you can apply
korge
or
korge-android
p
uhhhmm, ok, let me check
getting lot of compilation errors now... weird ones
Unresolved reference: ViewsDslMarker
d
it is not binary compatible with other stuff, do you have an intermediate library or something?
cleaned up?
p
nope, cleaning
no... the same, actually getting lot of extra errors that werent there before, i think i'll stick to 1.13.9.0 for a while until i get some time to adjust my code to the changes
d
okay
were you using ViewsDslMarker in your own code?
p
yeah, have this for example:
Copy code
inline fun GenericScene.image(
        texture: Bitmap, anchorX: Double = 0.0, anchorY: Double = 0.0, callback: @ViewsDslMarker Image.() -> Unit = {}
): Image = Image(texture, anchorX, anchorY).addTo(sceneContainer).apply(callback)
then got this error too:
Copy code
'var radius: Double' can't be called in this context by implicit receiver. Use the explicit one if necessary
for this circle:
Copy code
circle(radius, radius, radius)
d
okay, I'll investigate