apheleia-project / jbs-build-issues

0 stars 0 forks source link

Kotlin Build Problems #10

Closed rnc closed 5 months ago

rnc commented 5 months ago

Kotlin is proving very problematic to build.

Documented in https://docs.google.com/document/d/1hfE8Ug5zdR8NEfdyVCYx6hWvgykzVN7qBljzIChLUZE/edit

Essentially the primary problem is applying our repositories.gradle causes

java.lang.IllegalStateException: Cannot mutate content repository descriptor 'maven(https://cache-redirector.jetbrains.com/maven.pkg.jetbrains.space//kotlin/p/kotlin/bootstrap)' after repository has been used
rnc commented 5 months ago

I'm reopening this as while the above problem (applying the repositories.gradle) is fixed there are yet more issues. It appears Kotlin is actually a mixed Gradle / Maven build.

Reference for building Kotlin

Firstly the gradle part must be built and then the Maven part.