Hi. Can anyone help me please? I need to setup a c...
# education
n
Hi. Can anyone help me please? I need to setup a completely offline IntelliJ projet with gradle and kotlin for our constrained school environment (No Kotlin installed, No Gradle, No Internet). I packed all kotlin dependencies into
libs/kotlin
but it still tells me, that
kotlin.jvm.internal.Intrinsics
is not found. You can find the repo here: https://github.com/emign/kotlinOfflineTest The error I struggle with is:
Copy code
Could not perform incremental compilation: Could not connect to Kotlin compile daemon
Could not connect to kotlin daemon. Using fallback strategy.
Exception in thread "main" java.lang.NoClassDefFoundError: kotlin/jvm/internal/Intrinsics
	at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler$Companion.main(K2JVMCompiler.kt)
	at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.main(K2JVMCompiler.kt)
Caused by: java.lang.ClassNotFoundException: kotlin.jvm.internal.Intrinsics
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
	... 2 more

Caused by: java.lang.ClassNotFoundException: kotlin.jvm.internal.Intrinsics
a
You can check which libraries are used by cleaning gradle module cache at
~/.gradle/caches/modules-2/files-2.1
, then starting your build and checking again.