diff --git a/library/build.gradle.kts b/library/build.gradle.kts index 234de9ce4..71d873321 100644 --- a/library/build.gradle.kts +++ b/library/build.gradle.kts @@ -16,7 +16,6 @@ buildscript { mavenCentral() gradlePluginPortal() google() - mavenLocal() // Used for sample snapshot testing. } dependencies { @@ -27,8 +26,6 @@ buildscript { classpath(Libs.Detekt.GradlePlugin) classpath(Libs.GradleVersions.GradlePlugin) classpath(Libs.Wire.GradlePlugin) - @Suppress("GradleDynamicVersion") // We want the latest version as we control it. - classpath("io.mehow.laboratory:laboratory-gradle-plugin:+") } } @@ -37,7 +34,6 @@ allprojects { mavenCentral() google() jcenter() - mavenLocal() // Used for sample snapshot testing. } group = properties["GROUP"]!! diff --git a/library/gradle.properties b/library/gradle.properties index 918db2d57..7b1e9aa69 100644 --- a/library/gradle.properties +++ b/library/gradle.properties @@ -16,3 +16,8 @@ POM_DEVELOPER_ID=michalsikora90 POM_DEVELOPER_NAME=Michal Sikora android.useAndroidX=true + +# Increase the build VMs heap size. Default is 512m. +# Increase metaspace for Dokka https://github.com/Kotlin/dokka/issues/1405 +org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m +org.gradle.parallel=true