Update Okio and kotlin-compile-testing dependencies (#1198)

* Update Okio to latest

* Update kotlin-compile-testing to 1.2.10

* Update to KtLint 0.38.1

No changes affecting moshi, just support for mixing multiple kotlin versions in a project

* Opportunistic disable kotlin-dsl warning

This is noisy on every build

* Update maven publish to 0.12.0
This commit is contained in:
Zac Sweers
2020-08-28 07:28:58 -04:00
committed by GitHub
parent 538890e8c0
commit 42f1d18f64
5 changed files with 11 additions and 35 deletions

View File

@@ -14,7 +14,6 @@
* limitations under the License.
*/
import com.vanniktech.maven.publish.MavenPublishPluginExtension
import org.gradle.jvm.tasks.Jar
buildscript {
@@ -24,7 +23,7 @@ buildscript {
}
plugins {
id("com.vanniktech.maven.publish") version "0.11.1" apply false
id("com.vanniktech.maven.publish") version "0.12.0" apply false
id("org.jetbrains.dokka") version "0.10.1" apply false
id("com.diffplug.spotless") version "5.2.0"
}
@@ -88,13 +87,6 @@ subprojects {
// Configure publishing
pluginManager.withPlugin("com.vanniktech.maven.publish") {
configure<MavenPublishPluginExtension> {
useLegacyMode = false
nexus {
groupId = "com.squareup"
}
}
// Configure automatic-module-name, but only for published modules
@Suppress("UnstableApiUsage")
val automaticModuleName = providers.gradleProperty("AUTOMATIC_MODULE_NAME")