https://kotlinlang.org logo
#gradle
Title
# gradle
m

mbonnin

02/15/2023, 5:07 PM
I just got hit by this:
Copy code
Caused by: org.gradle.api.InvalidUserDataException: You can't map a property that does not exist: propertyName=archiveName
	at org.gradle.internal.extensibility.ConventionAwareHelper.map(ConventionAwareHelper.java:59)
	at org.gradle.internal.extensibility.ConventionAwareHelper.map(ConventionAwareHelper.java:93)
	at org.gradle.api.internal.ConventionTask.conventionMapping(ConventionTask.java:33)
	at org.jetbrains.kotlin.gradle.targets.jvm.KotlinJvmTarget$disableJavaPluginTasks$1.execute(KotlinJvmTarget.kt:130)
	at org.jetbrains.kotlin.gradle.targets.jvm.KotlinJvmTarget$disableJavaPluginTasks$1.execute(KotlinJvmTarget.kt:128)944)
	...
Kotlin 1.8.10 (edit: nevermind, it was Kotlin 1.6.10) + Gradle 8. Does that ring a bell?
1
v

Vampire

02/15/2023, 5:08 PM
https://docs.gradle.org/8.0/userguide/upgrading_version_7.html#abstractarchivetask_api_cleanup
AbstractArchiveTask API Cleanup
The deprecated
appendix
,
archiveName
,
archivePath
,
baseName
,
classifier
,
desintationDir
,
extension
and
version
properties of the
AbstractArchiveTask
task type have been removed. Use the
archiveAppendix
,
archiveFileName
,
archiveFile
,
archiveBaseName
,
archiveClassifier
,
destinationDirectory
,
archiveExtension
and
archiveVersion
properties instead.
m

mbonnin

02/15/2023, 5:10 PM
Ahhh, nevermind that's because I have Kotlin 1.6.10 when syncing IJ for REASONs...
129 Views