Loading BUILD.md +11 −2 Original line number Diff line number Diff line Loading @@ -40,7 +40,16 @@ Windows: Now you can build the AAR modules : ./gradlew :orbotservice:assembleRelease :privacymoduletor:assembleRelease To deploy localy duringdevelopment ./gradlew --console=verbose publishToMavenLocal This will put compiled AAR and pom file exposing their dependencies in the local maven repository (usually in ~/.m2/repository). To push release on gitlab ./gradlew --console=verbose publish build.gradle +28 −2 Original line number Diff line number Diff line Loading @@ -38,6 +38,20 @@ configure(project(':orbotservice')) { } } } repositories { maven { url "https://gitlab.e.foundation/api/v4/projects/1063/packages/maven" credentials(HttpHeaderCredentials) { name = "Private-Token" value = gitLabPrivateToken // the variable resides in ~/.gradle/gradle.properties } authentication { header(HttpHeaderAuthentication) } } } } } } Loading @@ -46,9 +60,21 @@ configure(project(':orbotservice')) { allprojects { repositories { google() jcenter() mavenCentral() maven { url "https://raw.githubusercontent.com/guardianproject/gpmaven/master" } maven { url 'https://jitpack.io' } maven { url '../mavenlocalrepository/'} mavenLocal() maven { url "https://gitlab.e.foundation/api/v4/groups/13662/-/packages/maven" name "GitLab" credentials(HttpHeaderCredentials) { name = 'Private-Token' value = gitLabPrivateToken } authentication { header(HttpHeaderAuthentication) } } } } orbotservice @ b720418e Compare 2d737118 to b720418e Original line number Diff line number Diff line Subproject commit 2d737118cd69561de997ffdbc999c548256c1af1 Subproject commit b720418eddceea5a1c333e9f3a1186e1a623487c privacymoduletor/build.gradle +14 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ android { minSdkVersion 24 targetSdkVersion 30 versionCode 7 versionName "0.1.0" versionName "0.1.1" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles "consumer-rules.pro" Loading Loading @@ -83,6 +83,19 @@ publishing { } } } repositories { maven { url "https://gitlab.e.foundation/api/v4/projects/1063/packages/maven" credentials(HttpHeaderCredentials) { name = "Private-Token" value = gitLabPrivateToken // the variable resides in ~/.gradle/gradle.properties } authentication { header(HttpHeaderAuthentication) } } } } } } Loading
BUILD.md +11 −2 Original line number Diff line number Diff line Loading @@ -40,7 +40,16 @@ Windows: Now you can build the AAR modules : ./gradlew :orbotservice:assembleRelease :privacymoduletor:assembleRelease To deploy localy duringdevelopment ./gradlew --console=verbose publishToMavenLocal This will put compiled AAR and pom file exposing their dependencies in the local maven repository (usually in ~/.m2/repository). To push release on gitlab ./gradlew --console=verbose publish
build.gradle +28 −2 Original line number Diff line number Diff line Loading @@ -38,6 +38,20 @@ configure(project(':orbotservice')) { } } } repositories { maven { url "https://gitlab.e.foundation/api/v4/projects/1063/packages/maven" credentials(HttpHeaderCredentials) { name = "Private-Token" value = gitLabPrivateToken // the variable resides in ~/.gradle/gradle.properties } authentication { header(HttpHeaderAuthentication) } } } } } } Loading @@ -46,9 +60,21 @@ configure(project(':orbotservice')) { allprojects { repositories { google() jcenter() mavenCentral() maven { url "https://raw.githubusercontent.com/guardianproject/gpmaven/master" } maven { url 'https://jitpack.io' } maven { url '../mavenlocalrepository/'} mavenLocal() maven { url "https://gitlab.e.foundation/api/v4/groups/13662/-/packages/maven" name "GitLab" credentials(HttpHeaderCredentials) { name = 'Private-Token' value = gitLabPrivateToken } authentication { header(HttpHeaderAuthentication) } } } }
orbotservice @ b720418e Compare 2d737118 to b720418e Original line number Diff line number Diff line Subproject commit 2d737118cd69561de997ffdbc999c548256c1af1 Subproject commit b720418eddceea5a1c333e9f3a1186e1a623487c
privacymoduletor/build.gradle +14 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ android { minSdkVersion 24 targetSdkVersion 30 versionCode 7 versionName "0.1.0" versionName "0.1.1" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles "consumer-rules.pro" Loading Loading @@ -83,6 +83,19 @@ publishing { } } } repositories { maven { url "https://gitlab.e.foundation/api/v4/projects/1063/packages/maven" credentials(HttpHeaderCredentials) { name = "Private-Token" value = gitLabPrivateToken // the variable resides in ~/.gradle/gradle.properties } authentication { header(HttpHeaderAuthentication) } } } } } }