https://kotlinlang.org logo
#gradle
Title
m

michaelsims

11/14/2017, 3:45 PM
I may be asking in the wrong place, since my question isn't related to kotlin-dsl but (I think) the kotlin-gradle-plugin, so let me know if there's a better place to ask this. But I'm trying to update my build to use the new
implementation
and
api
dependency configurations. The
implementation
one works fine, but when I try to use
api
, configuration fails with an error like "Could not find method api() for arguments ... on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler." I'm on Kotlin 1.1.60, Gradle 4.3.1. Does anyone have any ideas?