diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-10-13 03:37:40 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-10-13 03:37:40 +0200 |
commit | ebce2c4b839c0b2f8be78bc31c1ce12c45a0164c (patch) | |
tree | 7cac3c5449eb8aa398b279d62d9a67ed34fa4115 /build.gradle | |
parent | 470953c78c2509224bb452c16f8bbea54e53b3d7 (diff) | |
download | kvision-ebce2c4b839c0b2f8be78bc31c1ce12c45a0164c.tar.gz kvision-ebce2c4b839c0b2f8be78bc31c1ce12c45a0164c.tar.bz2 kvision-ebce2c4b839c0b2f8be78bc31c1ce12c45a0164c.zip |
Major refactoring of the multi-platform components.
Dependencies upgrade.
A lot of code style fixes.
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/build.gradle b/build.gradle index abb8f25d..35fa82c7 100644 --- a/build.gradle +++ b/build.gradle @@ -34,6 +34,7 @@ configure(allprojects - project(':kvision-modules')) { } configure(allprojects - project(':kvision-modules') - project(":kvision-modules:kvision-base")) { + apply plugin: 'io.gitlab.arturbosch.detekt' apply plugin: 'com.jfrog.bintray' apply plugin: 'maven' apply plugin: 'maven-publish' @@ -54,6 +55,11 @@ configure(allprojects - project(':kvision-modules') - project(":kvision-modules: tasks.build.dependsOn(['sourceJar', 'emptyJar']) + detekt { + config = files(rootProject.projectDir.path + "/detekt.yml") + filters = ".*test.*,.*/resources/.*,.*/tmp/.*" + } + publishing { publications { mavenProject(MavenPublication) { @@ -88,7 +94,6 @@ if (!project.gradle.startParameter.taskNames.contains("dokka")) { apply plugin: 'kotlin' } apply plugin: 'org.jetbrains.kotlin.frontend' -apply plugin: 'io.gitlab.arturbosch.detekt' apply plugin: 'org.jetbrains.dokka' apply plugin: 'kotlinx-serialization' @@ -145,15 +150,6 @@ kotlinFrontend { } -detekt { - version = "${detektVersion}" - profile("main") { - input = "$projectDir/src/main/kotlin" - config = "$projectDir/detekt.yml" - filters = ".*test.*,.*/resources/.*,.*/tmp/.*" - } -} - dokka { includes = ['Module.md'] sourceDirs = files('kvision-modules/kvision-bootstrap/src/main/kotlin', |