Skip to content

Commit

Permalink
🐛 (#138): Fix modules dependency version
Browse files Browse the repository at this point in the history
  • Loading branch information
xgouchet committed Feb 19, 2020
1 parent f68d577 commit db6d319
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

package com.datadog.gradle.config

import com.datadog.gradle.Dependencies
import io.gitlab.arturbosch.detekt.Detekt
import io.gitlab.arturbosch.detekt.extensions.DetektExtension
import org.gradle.api.Project
Expand All @@ -15,8 +14,6 @@ import org.gradle.kotlin.dsl.withType
fun Project.detektConfig() {

extensionConfig<DetektExtension> {
version = Dependencies.Versions.Detekt

input = files("$projectDir/src/main/kotlin")
config = files("${project.rootDir}/detekt.yml")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const val BINTRAY_API_KEY = "bintrayApiKey"

fun Project.publishingConfig(localRepo: String) {

version = AndroidConfig.VERSION.name
val projectName = name

extensionConfig<PublishingExtension> {
Expand Down

0 comments on commit db6d319

Please sign in to comment.