Loading .gitlab-ci.yml +9 −1 Original line number Diff line number Diff line stages: - update-from-upstream - build-sdk - publish include: - project: 'e/priv/os/build' Loading @@ -19,3 +20,10 @@ build-sdk: artifacts: paths: - e-ui-sdk.jar publish: only: - v1-q stage: publish script: - 'gradle publish' build.gradle 0 → 100644 +46 −0 Original line number Diff line number Diff line plugins { id 'maven-publish' } publishing { publications { maven(MavenPublication) { groupId = 'foundation.e' artifactId = 'e-ui-sdk' version = '1.0-q' artifact ("e-ui-sdk.jar") pom { name = '/e/ UI SDK Library' description = 'A design library to be used specifically for /e/ OS to have common themes across the apps.' url = 'https://gitlab.e.foundation/e/os/android_lineage-sdk' licenses { license { name = 'The Apache License, Version 2.0' url = 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id = 'amitkumar' name = 'Amit Kumar' email = 'amitkma@e.email' } } } } } repositories { maven { url "https://gitlab.e.foundation/api/v4/projects/185/packages/maven" name "GitLab" credentials(HttpHeaderCredentials) { name = 'Job-Token' value = System.getenv("CI_JOB_TOKEN") } authentication { header(HttpHeaderAuthentication) } } } } Loading
.gitlab-ci.yml +9 −1 Original line number Diff line number Diff line stages: - update-from-upstream - build-sdk - publish include: - project: 'e/priv/os/build' Loading @@ -19,3 +20,10 @@ build-sdk: artifacts: paths: - e-ui-sdk.jar publish: only: - v1-q stage: publish script: - 'gradle publish'
build.gradle 0 → 100644 +46 −0 Original line number Diff line number Diff line plugins { id 'maven-publish' } publishing { publications { maven(MavenPublication) { groupId = 'foundation.e' artifactId = 'e-ui-sdk' version = '1.0-q' artifact ("e-ui-sdk.jar") pom { name = '/e/ UI SDK Library' description = 'A design library to be used specifically for /e/ OS to have common themes across the apps.' url = 'https://gitlab.e.foundation/e/os/android_lineage-sdk' licenses { license { name = 'The Apache License, Version 2.0' url = 'http://www.apache.org/licenses/LICENSE-2.0.txt' } } developers { developer { id = 'amitkumar' name = 'Amit Kumar' email = 'amitkma@e.email' } } } } } repositories { maven { url "https://gitlab.e.foundation/api/v4/projects/185/packages/maven" name "GitLab" credentials(HttpHeaderCredentials) { name = 'Job-Token' value = System.getenv("CI_JOB_TOKEN") } authentication { header(HttpHeaderAuthentication) } } } }