Loading exportdependencies/publish.gradle +1 −4 Original line number Diff line number Diff line Loading @@ -4,12 +4,10 @@ publishing { publications { maven(MavenPublication) { groupId 'foundation.e' //You can either define these here or get them from project conf elsewhere artifactId 'orbotservice' version versions.orbot_service artifact "$buildDir/outputs/aar/orbotservice-release.aar" //aar artifact you want to publish artifact "$buildDir/outputs/aar/orbotservice-release.aar" //generate pom nodes for dependencies pom.withXml { def dependenciesNode = asNode().appendNode('dependencies') configurations.implementation.allDependencies.each { dependency -> Loading Loading @@ -42,7 +40,6 @@ publishing { credentials(HttpHeaderCredentials) { name = "Private-Token" value = gitLabPrivateToken // the variable resides in ~/.gradle/gradle.properties } authentication { header(HttpHeaderAuthentication) Loading Loading
exportdependencies/publish.gradle +1 −4 Original line number Diff line number Diff line Loading @@ -4,12 +4,10 @@ publishing { publications { maven(MavenPublication) { groupId 'foundation.e' //You can either define these here or get them from project conf elsewhere artifactId 'orbotservice' version versions.orbot_service artifact "$buildDir/outputs/aar/orbotservice-release.aar" //aar artifact you want to publish artifact "$buildDir/outputs/aar/orbotservice-release.aar" //generate pom nodes for dependencies pom.withXml { def dependenciesNode = asNode().appendNode('dependencies') configurations.implementation.allDependencies.each { dependency -> Loading Loading @@ -42,7 +40,6 @@ publishing { credentials(HttpHeaderCredentials) { name = "Private-Token" value = gitLabPrivateToken // the variable resides in ~/.gradle/gradle.properties } authentication { header(HttpHeaderAuthentication) Loading