Samyak Jain

07/07/2020, 7:39 AM
While building kotlin-source code (1.3.30) after custom changes required, I'm getting this error:
Copy code
:kotlin-compiler-embeddable:install (Thread[Task worker for ':' Thread 4,5,main]) started.
Putting task artifact state for task ':kotlin-compiler-embeddable:install' into context took 0.0 secs.
Up-to-date check for task ':kotlin-compiler-embeddable:install' took 0.0 secs. It is not up-to-date because:
  Task has not declared any outputs.
Publishing configuration: configuration ':kotlin-compiler-embeddable:archives'
Publishing to org.gradle.api.publication.maven.internal.deployer.BaseMavenInstaller@85c2fcf
:kotlin-compiler-embeddable:install FAILED
:kotlin-compiler-embeddable:install (Thread[Task worker for ':' Thread 4,5,main]) completed. Took 0.002 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':kotlin-compiler-embeddable:install'.
Could not publish configuration 'archives'
   > Could not write to file '/home/samyak/Kotlin/master/kotlin-1.3.30/prepare/compiler-embeddable/build/poms/pom-default.xml'.

* Try:
Run with --debug option to get more log output. Run with --scan to get full insights.
I'm not quite sure why it is not able to write to the file? Any help is appreciated.
Resolved with some configuration updates! 😄