tony
04/01/2022, 7:17 PMfield repository of org.gradle.api.publish.maven.tasks.PublishToMavenRepository$RepositorySpec$UnsupportedRepositorySpec
It looks like it's referring to this field:
public class PublishToMavenRepository extends AbstractPublishToMaven {
private final Var<MavenArtifactRepository> repository = Transient.varOf();
but I'm not sure. I still have some trouble reading these CC issue reportsRodrigo Oliveira
04/01/2022, 7:20 PMUnsupportedRepositorySpec
there means the repository is not file://
based.tony
04/01/2022, 7:25 PMext.isSnapshot = version.toString().endsWith('-SNAPSHOT')
publishing {
repositories {
maven {
name = artifactoryRepoName
def releasesUrl = 'https://<<square>>/artifactory/releases/'
def snapshotsUrl = 'https://<<square>>/artifactory/snapshots/'
url = isSnapshot ? snapshotsUrl : releasesUrl
Rodrigo Oliveira
04/01/2022, 7:26 PMRodrigo Oliveira
04/01/2022, 7:27 PMtony
04/01/2022, 7:27 PMRodrigo Oliveira
04/01/2022, 7:28 PMtony
04/01/2022, 7:28 PMtony
04/01/2022, 7:28 PMRodrigo Oliveira
04/01/2022, 7:28 PMtony
04/01/2022, 7:32 PMtasks.withType(PublishToMavenRepository).configureEach {
notCompatibleWithConfigurationCache('See <https://github.com/gradle/gradle/issues/13468>')
}
I get the same error report, though.Rodrigo Oliveira
04/01/2022, 7:35 PMRodrigo Oliveira
04/01/2022, 7:36 PMnotCompatibleWCC
taskstony
04/01/2022, 7:37 PMtony
04/01/2022, 7:37 PMRodrigo Oliveira
04/01/2022, 7:37 PM