背景
gradle配置publishing maven库,编译时错误提示“Invocation of 'Task.project' by task ':xxx:compileKotlinIosArm64' at execution time is unsupported.”。
解决
如果gradle.properties
中有配置缓存 org.gradle.configuration-cache=true,需要改为false。目前gradle不支持ios swift的配置缓存选项。gradle配置缓存