From 6df3ba0083f89907a4393652f3b4392334c3b8a1 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 9 Oct 2021 13:13:14 +0530 Subject: Upgrade plugin dependencies and fix Javadoc generation (#1517) * build: upgrade all plugins * autofill-parser/openpgp-ktx: apply Dokka plugin * Move repository configuration to settings.gradle.kts * Replace deprecated lintOptions * Reorder repositories --- buildSrc/src/main/java/BaseProjectConfig.kt | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'buildSrc/src/main/java') diff --git a/buildSrc/src/main/java/BaseProjectConfig.kt b/buildSrc/src/main/java/BaseProjectConfig.kt index 2c6f8fdc..a3ece4b8 100644 --- a/buildSrc/src/main/java/BaseProjectConfig.kt +++ b/buildSrc/src/main/java/BaseProjectConfig.kt @@ -10,9 +10,7 @@ import org.gradle.api.Project import org.gradle.api.tasks.testing.Test import org.gradle.api.tasks.testing.logging.TestLogEvent import org.gradle.api.tasks.wrapper.Wrapper -import org.gradle.kotlin.dsl.maven import org.gradle.kotlin.dsl.register -import org.gradle.kotlin.dsl.repositories import org.gradle.kotlin.dsl.withType import org.gradle.language.nativeplatform.internal.BuildType import org.jetbrains.kotlin.gradle.tasks.KotlinCompile @@ -36,18 +34,7 @@ internal fun Project.configureForRootProject() { /** Configure all projects including the root project */ internal fun Project.configureForAllProjects() { - repositories { - google() - mavenCentral() - maven("https://jitpack.io") { - name = "JitPack" - content { - includeModule("com.github.haroldadmin", "WhatTheStack") - includeModule("com.github.open-keychain.open-keychain", "sshauthentication-api") - } - } - } - tasks.withType { + tasks.withType().configureEach { kotlinOptions { allWarningsAsErrors = true jvmTarget = JavaVersion.VERSION_11.toString() -- cgit v1.2.3