Change .konan folder location

When building K/N using Gradle the default path for the caches is ~/.konan. Is it possible to change that path? For example similarly to how Gradle cache fodler can be set using the env variable GRADLE_USER_HOME.

Yes, you can change the default /.konan/ location using the environment variable KONAN_DATA_DIR, see here.

1 Like