octylFractal / ts2kt-unofficial-gradle-plugin

MIT License
2 stars 2 forks source link

Could not find io.ktor:ktor-client-apache:0.9.4 #1

Open jonas-m- opened 5 years ago

jonas-m- commented 5 years ago
Could not find io.ktor:ktor-client-apache:0.9.4.
Required by:
    project : > gradle.plugin.net.octyl:ts2kt-unofficial-gradle-plugin-plugin:0.1.9
timothyolt commented 5 years ago

I added this to my root buildscript and it fixed it.

buildscript {
    repositories {
        maven("https://kotlin.bintray.com/ktor/")
    }
}

(Kotlin DSL)

octylFractal commented 5 years ago

What timothyolt said is correect, Ktor comes from its own repository in pre-1.0.0 versions. When I update this plugin I'll move it up to post-1.0.0 and you won't need to use that repository anymore, as it'll be in Central.