Monday, 16 August 2021

maven-metadata.xml keeps getting requested when building

AGP 4.2.2
gradle-6.7.1
arcticfox 2020.3.1    

Everytime I build my android project I see this maven-metadata.xml and it just seems to slow the build and it just seems to hang there. Which can take 10 minutes for each build.

Is there a way to avoid this?

Gradle: Download maven-metadata.xml...

When I run one the command line I see this:

enter image description here

This is my gradle.properties

org.gradle.jvmargs=-Xmx8g -XX:MaxPermSize=512m -XX:ReservedCodeCacheSize=256m -XX:+UseCompressedOops -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

org.gradle.daemon=true
org.gradle.parallel=true
org.gradle.caching=true
org.gradle.configureondemand=true

kotlin.coroutines=enable
kotlin.code.style=official
kapt.use.worker.api=true
kapt.incremental.apt=true

android.enableD8.desugaring=true
android.useAndroidX=true
android.enableJetifier=true


from maven-metadata.xml keeps getting requested when building

No comments:

Post a Comment