I have a project that succeeds with Gradle 3.4.1 and fails with 3.5RC1.
The issue happens during the uploads to Artifactory with the maven-publish plugin.
Gradle 3.5RC1 fails like so:
:RootProject:RootProject:SubProject1:publishSubProjectAppPublicationToMavenRepository
Upload http://artifactory/libs-release-local/my/group/name/myapp/1.0.0/myapp-1.0.0.pom
Upload http://artifactory/libs-release-local/my/group/name/myapp/1.0.0/myapp-1.0.0.pom.sha1
Upload http://artifactory/libs-release-local/my/group/name/myapp/1.0.0/myapp-1.0.0.pom.md5
Upload http://artifactory/libs-release-local/my/group/name/myapp/1.0.0/myapp-1.0.0-windows.msi
Upload http://artifactory/libs-release-local/my/group/name/myapp/1.0.0/myapp-1.0.0-windows.msi.sha1
Upload http://artifactory/libs-release-local/my/group/name/myapp/1.0.0/myapp-1.0.0-windows.msi.md5
Could not transfer metadata my.group.name:myapp/maven-metadata.xml from/to remote (http://artifactory/libs-release-local): Could not get resource 'my/group/name/myapp/maven-metadata.xml'
:RootProject:RootProject:SubProject1:publishSubProjectAppPublicationToMavenRepository FAILED
With 3.4.1 this works fine:
:RootProject:RootProject:SubProject1:publishSubProjectAppPublicationToMavenRepository
Upload http://artifactory/libs-release-local/my/group/name/myapp/1.0.0/myapp-1.0.0.pom
Upload http://artifactory/libs-release-local/my/group/name/myapp/1.0.0/myapp-1.0.0.pom.sha1
Upload http://artifactory/libs-release-local/my/group/name/myapp/1.0.0/myapp-1.0.0.pom.md5
Upload http://artifactory/libs-release-local/my/group/name/myapp/1.0.0/myapp-1.0.0-windows.msi
Upload http://artifactory/libs-release-local/my/group/name/myapp/1.0.0/myapp-1.0.0-windows.msi.sha1
Upload http://artifactory/libs-release-local/my/group/name/myapp/1.0.0/myapp-1.0.0-windows.msi.md5
Upload http://artifactory/libs-release-local/my/group/name/myapp/maven-metadata.xml
Upload http://artifactory/libs-release-local/my/group/name/myapp/maven-metadata.xml.sha1
Upload http://artifactory/libs-release-local/my/group/name/myapp/maven-metadata.xml.md5
:RootProject:RootProject:SubProject1:publish