From a219c8ba359f2cb99ac5ea9a6bb38db0db33d82c Mon Sep 17 00:00:00 2001 From: Pawel Pasterz Date: Fri, 12 Mar 2021 11:30:32 +0100 Subject: [PATCH] Linting --- common/build.gradle.kts | 6 ------ flank-scripts/build.gradle.kts | 2 -- integration_tests/build.gradle.kts | 1 - test_runner/build.gradle.kts | 9 ++------- 4 files changed, 2 insertions(+), 16 deletions(-) diff --git a/common/build.gradle.kts b/common/build.gradle.kts index 7586b18fa2..f12c01b065 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -13,14 +13,8 @@ tasks.test { tasks.withType { kotlinOptions.jvmTarget = "1.8" } dependencies { -// implementation(kotlin("stdlib", org.jetbrains.kotlin.config.KotlinCompilerVersion.VERSION)) // or "stdlib-jdk8" - // Fuel api(Dependencies.Fuel.CORE) -// api(Dependencies.Fuel.KOTLINX_SERIALIZATION) -// api(Dependencies.Fuel.COROUTINES) - // Archive api(Dependencies.ARCHIVE_LIB) -// api(Dependencies.TUKAANI_XZ) testImplementation(Dependencies.JUNIT) testImplementation(Dependencies.MOCKK) diff --git a/flank-scripts/build.gradle.kts b/flank-scripts/build.gradle.kts index 30ab0e3b6d..91c626ab80 100644 --- a/flank-scripts/build.gradle.kts +++ b/flank-scripts/build.gradle.kts @@ -93,11 +93,9 @@ repositories { } dependencies { -// implementation(kotlin("stdlib", org.jetbrains.kotlin.config.KotlinCompilerVersion.VERSION)) // or "stdlib-jdk8" implementation(Dependencies.KOTLIN_SERIALIZATION) implementation(project(":common")) implementation(Dependencies.CLIKT) -// implementation(Dependencies.JSOUP) implementation(Dependencies.JCABI_GITHUB) implementation(Dependencies.SLF4J_NOP) implementation(Dependencies.GLASSFISH_JSON) diff --git a/integration_tests/build.gradle.kts b/integration_tests/build.gradle.kts index 17d15b27ef..799ec5ad2d 100644 --- a/integration_tests/build.gradle.kts +++ b/integration_tests/build.gradle.kts @@ -16,7 +16,6 @@ repositories { } dependencies { - implementation(kotlin("stdlib")) implementation(project(":common")) testImplementation(Dependencies.JUNIT) testImplementation(Dependencies.JACKSON_XML) diff --git a/test_runner/build.gradle.kts b/test_runner/build.gradle.kts index bab4f363db..0443d71a17 100644 --- a/test_runner/build.gradle.kts +++ b/test_runner/build.gradle.kts @@ -1,11 +1,11 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar import groovy.util.Node import groovy.util.NodeList -import java.io.ByteArrayOutputStream -import java.nio.file.Paths import org.gradle.api.tasks.testing.logging.TestExceptionFormat import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform import org.jetbrains.kotlin.gradle.tasks.KotlinCompile +import java.io.ByteArrayOutputStream +import java.nio.file.Paths plugins { application @@ -181,8 +181,6 @@ dependencies { implementation(Dependencies.DD_PLIST) implementation(Dependencies.DEX_TEST_PARSER) -// implementation(Dependencies.GSON) - implementation(Dependencies.JACKSON_DATABIND) implementation(Dependencies.JACKSON_KOTLIN) implementation(Dependencies.JACKSON_YAML) @@ -205,7 +203,6 @@ dependencies { implementation(Dependencies.PICOCLI) annotationProcessor(Dependencies.PICOCLI_CODEGEN) -// implementation(Dependencies.WOODSTOX) implementation(Dependencies.KOTLIN_LOGGING) implementation(Dependencies.COMMON_TEXT) implementation(Dependencies.JANSI) @@ -215,8 +212,6 @@ dependencies { // compile("com.google.apis:google-api-services-testing:v1-rev30-1.23.0") implementation(project(":firebase_apis:test_api")) -// testImplementation(Dependencies.JSOUP) -// testImplementation(Dependencies.OKHTTP) testImplementation(Dependencies.JUNIT) testImplementation(Dependencies.SYSTEM_RULES) testImplementation(Dependencies.TRUTH)