-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
Description
Hi,
Is it possible to use with kotlin dsl in android project?
Android Studio 3.6.2 can't resolve git {} in the gradle.kts file, but it can clone the repo. Just get an error after clone.
Has anybody idea?
settings.gradle.kts
plugins {
id("com.alexvasilkov.git-dependencies") version "2.0.1"
}
build.gradle.kts
git {
implementation("[email protected]:JakeWharton/timber.git") {
name("timbermy")
branch("master")
projectPath("timber")
}
}
Error
e: /.../app/build.gradle.kts:54:5: Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
public fun ArtifactHandler.implementation(artifactNotation: Any): PublishArtifact defined in org.gradle.kotlin.dsl
public fun ArtifactHandler.implementation(artifactNotation: Any, configureAction: Action<ConfigurablePublishArtifact>): PublishArtifact defined in org.gradle.kotlin.dsl
public fun DependencyConstraintHandler.implementation(constraintNotation: Any): DependencyConstraint? defined in org.gradle.kotlin.dsl
public fun DependencyConstraintHandler.implementation(constraintNotation: Any, block: Action<DependencyConstraint>): DependencyConstraint defined in org.gradle.kotlin.dsl
public fun <T : Dependency> DependencyHandler.implementation(dependency: TypeVariable(T), action: Action<TypeVariable(T)>): TypeVariable(T) defined in org.gradle.kotlin.dsl
public fun DependencyHandler.implementation(dependencyNotation: Any): Dependency? defined in org.gradle.kotlin.dsl
public fun DependencyHandler.implementation(group: String, name: String, version: String? = ..., configuration: String? = ..., classifier: String? = ..., ext: String? = ..., dependencyConfiguration: Action<ExternalModuleDependency>? = ...): ExternalModuleDependency defined in org.gradle.kotlin.dsl
public fun DependencyHandler.implementation(dependencyNotation: String, dependencyConfiguration: Action<ExternalModuleDependency>): ExternalModuleDependency defined in org.gradle.kotlin.dsl
pm-nchain and gavr123456789