kotlinx-atomicfu icon indicating copy to clipboard operation
kotlinx-atomicfu copied to clipboard

Moved compile-options.gradle to conventions plugin

Open dkrasnoff opened this issue 9 months ago • 2 comments

Moved compile compile-options.gradle to compile-options-conventions.gradle.kts conventions plugin

dkrasnoff avatar May 10 '24 15:05 dkrasnoff

One of the tests is failing on TeamCity

https://teamcity.jetbrains.com/buildConfiguration/KotlinTools_KotlinxAtomicfu_SandboxBuildLinuxKotlinMaster/4611908?expandBuildDeploymentsSection=false&hideTestsFromDependencies=false&hideProblemsFromDependencies=false&expandBuildProblemsSection=true&expandBuildChangesSection=true

> Task :buildSrc:generateExternalPluginSpecBuilders FAILED
Watching 14 directories to track changes
Watching 14 directories to track changes
Resource missing. [HTTP GET: https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin/2.0.20-dev-3443/kotlin-gradle-plugin-2.0.20-dev-3443.pom
Found locally available resource with matching checksum: [https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.9.0/kotlin-stdlib-1.9.0.pom, /mnt/agent/system/gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.9.0/4aea0493dfd3ee18df73bcd97db791c2ea5bb383/kotlin-stdlib-1.9.0.pom]
Found locally available resource with matching checksum: [https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-common/1.9.0/kotlin-stdlib-common-1.9.0.pom, /mnt/agent/system/gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.9.0/a865a0c5a64618fd1dcca13d05dea4cba44c832/kotlin-stdlib-common-1.9.0.pom]
:generateExternalPluginSpecBuilders
Execution failed for task ':buildSrc:generateExternalPluginSpecBuilders'. org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':buildSrc:compileClasspath'.

Is that relevant to the changes here?

adam-enko avatar May 13 '24 08:05 adam-enko

One of the tests is failing on TeamCity

https://teamcity.jetbrains.com/buildConfiguration/KotlinTools_KotlinxAtomicfu_SandboxBuildLinuxKotlinMaster/4611908?expandBuildDeploymentsSection=false&hideTestsFromDependencies=false&hideProblemsFromDependencies=false&expandBuildProblemsSection=true&expandBuildChangesSection=true

> Task :buildSrc:generateExternalPluginSpecBuilders FAILED
Watching 14 directories to track changes
Watching 14 directories to track changes
Resource missing. [HTTP GET: https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin/2.0.20-dev-3443/kotlin-gradle-plugin-2.0.20-dev-3443.pom
Found locally available resource with matching checksum: [https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib/1.9.0/kotlin-stdlib-1.9.0.pom, /mnt/agent/system/gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.9.0/4aea0493dfd3ee18df73bcd97db791c2ea5bb383/kotlin-stdlib-1.9.0.pom]
Found locally available resource with matching checksum: [https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-common/1.9.0/kotlin-stdlib-common-1.9.0.pom, /mnt/agent/system/gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.9.0/a865a0c5a64618fd1dcca13d05dea4cba44c832/kotlin-stdlib-common-1.9.0.pom]
:generateExternalPluginSpecBuilders
Execution failed for task ':buildSrc:generateExternalPluginSpecBuilders'. org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':buildSrc:compileClasspath'.

Is that relevant to the changes here?

Yes, there were no required repositories in thebuildSrc's settings.gradle.kts file. So, I've added them (copied from main settings.gradle.kts for now).

dkrasnoff avatar May 13 '24 08:05 dkrasnoff