summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-11-30 01:37:42 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-12-03 12:59:58 +0530
commita80020477f4717f04d39593dd0c558182ec369a4 (patch)
treecb5040352cfc8106c0af56be29669283a9d1d2cc
parent120dc5fca46f41886f7ecdd84332b519b5bc5584 (diff)
gradle: add Maven Publish and Dokka plugins to root
-rw-r--r--dependency-sync/build.gradle.kts2
-rw-r--r--gradle/libs.versions.toml4
-rw-r--r--settings.gradle.kts4
3 files changed, 4 insertions, 6 deletions
diff --git a/dependency-sync/build.gradle.kts b/dependency-sync/build.gradle.kts
index 4169555a..fecd2cc9 100644
--- a/dependency-sync/build.gradle.kts
+++ b/dependency-sync/build.gradle.kts
@@ -9,11 +9,9 @@ dependencies {
// Build tooling
dependencySync("com.android.tools.build:gradle:7.0.3")
dependencySync("org.jetbrains.kotlinx:binary-compatibility-validator:0.8.0")
- dependencySync("org.jetbrains.dokka:dokka-gradle-plugin:1.6.0")
dependencySync("de.undercouch:gradle-download-task:4.1.2")
dependencySync("com.google.dagger:hilt-android-gradle-plugin:2.40.3")
dependencySync("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.0")
- dependencySync("com.vanniktech:gradle-maven-publish-plugin:0.18.0")
dependencySync("com.squareup.okhttp3:okhttp:4.9.3")
dependencySync("com.vdurmont:semver4j:3.1.0")
dependencySync("com.diffplug.spotless:spotless-plugin-gradle:6.0.1")
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 7759644f..6f4be2f3 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -66,8 +66,6 @@ kotlin-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines
kotlin-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }
kotlin-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" }
-build-dokka = "org.jetbrains.dokka:dokka-gradle-plugin:1.6.0"
-
build-download = "de.undercouch:gradle-download-task:4.1.2"
build-hilt = "com.google.dagger:hilt-android-gradle-plugin:2.40.3"
@@ -78,8 +76,6 @@ dagger-hilt-core = { module = "com.google.dagger:hilt-core", version.ref = "hilt
build-kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.0"
testing-kotlintest-junit = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlin" }
-build-mavenpublish = "com.vanniktech:gradle-maven-publish-plugin:0.18.0"
-
build-okhttp = "com.squareup.okhttp3:okhttp:4.9.3"
build-semver = "com.vdurmont:semver4j:3.1.0"
diff --git a/settings.gradle.kts b/settings.gradle.kts
index 58682180..6c600dc7 100644
--- a/settings.gradle.kts
+++ b/settings.gradle.kts
@@ -11,6 +11,10 @@ pluginManagement {
mavenCentral()
gradlePluginPortal()
}
+ plugins {
+ id("com.vanniktech.maven.publish") version "0.18.0" apply false
+ id("org.jetbrains.dokka") version "1.6.0" apply false
+ }
}
dependencyResolutionManagement {