Skip to content
Snippets Groups Projects
Commit 3910f6fa authored by Taras's avatar Taras
Browse files

Update script

parent dbddf0fc
No related branches found
No related tags found
No related merge requests found
...@@ -44,9 +44,10 @@ awk '!/<packaging>aar<\/packaging>/' pom_gallery.xml > tmp && mv tmp pom_gallery ...@@ -44,9 +44,10 @@ awk '!/<packaging>aar<\/packaging>/' pom_gallery.xml > tmp && mv tmp pom_gallery
awk '!/<packaging>aar<\/packaging>/' pom_auth_fdroid.xml > tmp && mv tmp pom_auth_fdroid.xml awk '!/<packaging>aar<\/packaging>/' pom_auth_fdroid.xml > tmp && mv tmp pom_auth_fdroid.xml
awk '!/<packaging>aar<\/packaging>/' pom_auth_gplay.xml > tmp && mv tmp pom_auth_gplay.xml awk '!/<packaging>aar<\/packaging>/' pom_auth_gplay.xml > tmp && mv tmp pom_auth_gplay.xml
## Change dependencies visibility to compile in pom # Remove core dependency from pom
#awk '{gsub(/<scope>runtime<\/scope>/, "<scope>compile</scope>")}1' pom_core.xml > temp && mv temp pom_core.xml GROUP_ID="org.futo.gitlab.circles"
#awk '{gsub(/<scope>runtime<\/scope>/, "<scope>compile</scope>")}1' pom_gallery.xml > temp && mv temp pom_gallery.xml ARTIFACT_ID="core"
#awk '{gsub(/<scope>runtime<\/scope>/, "<scope>compile</scope>")}1' pom_auth_fdroid.xml > temp && mv temp pom_auth_fdroid.xml SCOPE="runtime"
#awk '{gsub(/<scope>runtime<\/scope>/, "<scope>compile</scope>")}1' pom_auth_gplay.xml > temp && mv temp pom_auth_gplay.xml xmlstarlet ed -L -N x="http://maven.apache.org/POM/4.0.0" -d "//x:dependency[x:groupId='$GROUP_ID' and x:artifactId='$ARTIFACT_ID' and x:version='$version_name' and x:scope='$SCOPE']" pom_gallery.xml
xmlstarlet ed -L -N x="http://maven.apache.org/POM/4.0.0" -d "//x:dependency[x:groupId='$GROUP_ID' and x:artifactId='$ARTIFACT_ID' and x:version='$version_name' and x:scope='$SCOPE']" pom_auth_fdroid.xml
xmlstarlet ed -L -N x="http://maven.apache.org/POM/4.0.0" -d "//x:dependency[x:groupId='$GROUP_ID' and x:artifactId='$ARTIFACT_ID' and x:version='$version_name' and x:scope='$SCOPE']" pom_auth_gplay.xml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment