Skip to content
This repository has been archived by the owner on Dec 10, 2022. It is now read-only.

Gradle central NoSuchKey error #281

Open
davidsusu opened this issue Nov 19, 2017 · 2 comments
Open

Gradle central NoSuchKey error #281

davidsusu opened this issue Nov 19, 2017 · 2 comments
Assignees

Comments

@davidsusu
Copy link

My project setup fails because this url responses a NoSuchKey error:

https://plugins.gradle.org/m2/gradle/plugin/com/jtransc/jtransc-gradle-plugin/0.6.7/jtransc-gradle-plugin-0.6.7.pom

@soywiz
Copy link
Member

soywiz commented Nov 20, 2017

If you are using gradle plugin. As a workaround you can grab it fron central. Using this syntax:

https://github.com/jtransc/jtransc/blob/master/benchmark/build.gradle

I will try to upload latest version to gradle plugins too

@davidsusu
Copy link
Author

davidsusu commented Nov 27, 2017

I have no luck. I tried the build script linked by you, however, after a successful init, when I run any one of the gensrc* tasks I get the following exception every time:

com.jtransc.error.InvalidOperationException: AstProgram. Can't find class 'Benchmark'
	at com.jtransc.ast.AstProgram.get(ast.kt:233)
	at com.jtransc.ast.treeshaking.TreeShakingApi.<init>(TreeShaking.kt:42)
	at com.jtransc.ast.treeshaking.TreeShakingKt.TreeShaking(TreeShaking.kt:17)
	at com.jtransc.JTranscBuild._buildAndRun(build.kt:138)
	at com.jtransc.JTranscBuild.buildWithoutRunning(build.kt:88)
	at com.jtransc.gradle.tasks.JTranscGradleDistTask.task(JTranscGradleDistTask.kt:17)
	at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
	... 77 more

I note I am not a gradle expert yet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants