Closed ZacSweers closed 2 years ago
Yes, you are completely right. Unfortunately, pre-releases of Kotlin compiler and KSP are slim pickings, so oftentimes it can not be avoided to depend on snapshots in KCT pre-releases. Really KCT pre-releases should never be on maven central in the first place. I only published them there as a hack so I don't have to modify the release script and set-up another maven repository.
so oftentimes it can not be avoided to depend on snapshots in KCT pre-releases
You should really just line up with Kotlin's maven central prereleases only (milestones, betas, RCs). This is what every other kotlinc tool I know of does
the master branch is also currently failing for the same reason
Execution failed for task ':core:kaptGenerateStubsKotlin'.
> Error while evaluating property 'filteredArgumentsMap' of task ':core:kaptGenerateStubsKotlin'
> Could not resolve all files for configuration ':core:compileClasspath'.
> Could not find org.jetbrains.kotlin:kotlin-annotation-processing-embeddable:1.7.10-331.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.7.10-331/kotlin-annotation-processing-embeddable-1.7.10-331.pom
- https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.7.10-331/kotlin-annotation-processing-embeddable-1.7.10-331.pom
- https://maven.pkg.jetbrains.space/kotlin/p/kotlin/bootstrap/org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.7.10-331/kotlin-annotation-processing-embeddable-1.7.10-331.pom
- https://oss.sonatype.org/content/repositories/snapshots/org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.7.10-331/kotlin-annotation-processing-embeddable-1.7.10-331.pom
- https://www.jetbrains.com/intellij-repository/snapshots/org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.7.10-331/kotlin-annotation-processing-embeddable-1.7.10-331.pom
- https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/org/jetbrains/kotlin/kotlin-annotation-processing-embeddable/1.7.10-331/kotlin-annotation-processing-embeddable-1.7.10-331.pom
Required by:
project :core
This should depend on releases only in maven central IMO