```e: /Users/ian.warwick/Documents/sdev/memset/rou...
# compose
i
Copy code
e: /Users/ian.warwick/Documents/sdev/memset/router/src/main/java/com/citizenwarwick/memset/router/Router.kt: (94, 32): Using 'unaryPlus(): T' is an error. The unary plus for effects is no longer needed. Remove it.
b
What version of the lib are you getting? I still only see
-dev03
i
I had it at
0.+
but now changed to
-dev04
b
Oh! Nice!
i
yeh having to change all my
+state
now slight change not even sure if I am correctly using it
got a couple of teething errors...
Had to add this
Copy code
kotlinOptions {
        jvmTarget = JavaVersion.VERSION_1_8.toString()
    }
Since there was a compile error regarding inline functions
Copy code
Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please specify proper '-jvm-target' option
not sure if its the right thing to do but got passed the error at least
b
Nice
👍 1
i
yeh very cool stuff! 🙂 got a few things broken though not to bad
b
I'll see if I can get
-dev04
and play with it as well. Great find!
👍 1
i
nice one! yeh I think setting the version to
0.+
was a bit close to the edge 😆 can't complain
a
More to come, you'll need to configure your build for the newer compiler setup
👍 2
i
ah nice one @Adam Powell maybe I should hold of a bit, defo lots of things changed! awesome 🙂
r
See what @tcracknell just posted 🙂
❤️ 3
i
awesome!
@Adam Powell what is the new compiler setup? I tried adding
Copy code
implementation "androidx.compose:compose-compiler:$androidx_ui_version"
    implementation "androidx.compose:compose-runtime:$androidx_ui_version"
where version is
0.1.0-dev04
I started getting an error in one of my modules and not sure what the cause is if its that or something else
Copy code
e: java.lang.IllegalStateException: Backend Internal error: Exception during code generation
with a massive stack trace 🙂
Narrowed it down to using this `
Copy code
Surface(color = MaterialTheme.colors().primary){ }
when I remove
MaterialTheme.colors().primary
error goes away but I got a lot more things going on so... still digging
Copy code
composeOptions {
        kotlinCompilerExtensionVersion "0.1.0-dev04"
    }
Solved thanks! all the answers are in Jetnews dev 😄