Show search
Configuration on demand is an incubating feature. | ||
:buildSrc:extractPluginRequests UP-TO-DATE | ||
:buildSrc:generatePluginAdapters UP-TO-DATE | ||
:buildSrc:compileJava UP-TO-DATE | ||
:buildSrc:compileGroovy NO-SOURCE | ||
:buildSrc:compileGroovyPlugins UP-TO-DATE | ||
:buildSrc:pluginDescriptors UP-TO-DATE | ||
:buildSrc:processResources UP-TO-DATE | ||
:buildSrc:classes UP-TO-DATE | ||
:buildSrc:jar UP-TO-DATE | ||
w: The Default Kotlin Hierarchy Template was not applied to 'project ':analytics'': | ||
Deprecated 'ios()' shortcut was used: | ||
kotlin { | ||
ios() | ||
} | ||
Please declare the required targets explicitly: | ||
kotlin { | ||
iosX64() | ||
iosArm64() | ||
iosSimulatorArm64() /* <- Note: Was not previously applied */ | ||
/* ... */ | ||
} | ||
After that, replace `by getting` with static accessors: | ||
sourceSets { | ||
commonMain { ... } | ||
iosMain { | ||
dependencies { ... } | ||
} | ||
} | ||
To suppress the 'Default Hierarchy Template' add | ||
'kotlin.mpp.applyDefaultHierarchyTemplate=false' | ||
to your gradle.properties | ||
Learn more about hierarchy templates: https://kotl.in/hierarchy-template | ||
:analytics:checkKotlinGradlePluginConfigurationErrors | ||
:analytics:compileKotlinJvm FAILED | ||
FAILURE: Build failed with an exception. | ||
* What went wrong: | ||
Execution failed for task ':analytics:compileKotlinJvm'. | ||
> Could not resolve all files for configuration ':analytics:detachedConfiguration4'. | ||
> Failed to transform kotlin-stdlib-1.9.22.jar to match attributes {artifactType=classpath-entry-snapshot, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}. | ||
> Execution failed for ClasspathEntrySnapshotTransform: /Users/tosin/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.9.22/d6c44cd08d8f3f9bece8101216dbe6553365c6e3/kotlin-stdlib-1.9.22.jar. | ||
> java.lang.IllegalArgumentException (no error message) | ||
> Failed to transform annotations-13.0.jar to match attributes {artifactType=classpath-entry-snapshot, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}. | ||
> Execution failed for ClasspathEntrySnapshotTransform: /Users/tosin/.gradle/caches/modules-2/files-2.1/org.jetbrains/annotations/13.0/919f0dfe192fb4e063e7dacadee7f8bb9a2672a9/annotations-13.0.jar. | ||
> java.lang.IllegalArgumentException (no error message) | ||
* Try: | ||
> Run with --stacktrace option to get the stack trace. | ||
> Run with --info or --debug option to get more log output. | ||
> Get more help at https://help.gradle.org. | ||
BUILD FAILED in 6s | ||
9 actionable tasks: 2 executed, 7 up-to-date |