gradle: add Maven Publish and Dokka plugins to root

This commit is contained in:
Harsh Shandilya 2021-11-30 01:37:42 +05:30
parent 120dc5fca4
commit a80020477f
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
3 changed files with 4 additions and 6 deletions

View file

@ -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")

View file

@ -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"

View file

@ -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 {