Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb802ec1 authored by Guillaume Jacquart's avatar Guillaume Jacquart
Browse files

Update build config. v0.1.1

parent 9b1f09df
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -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
+28 −2
Original line number Diff line number Diff line
@@ -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)
                        }
                    }
                }
            }
        }
    }
@@ -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)
            }
        }
    }
}
Compare 2d737118 to b720418e
Original line number Diff line number Diff line
Subproject commit 2d737118cd69561de997ffdbc999c548256c1af1
Subproject commit b720418eddceea5a1c333e9f3a1186e1a623487c
+14 −1
Original line number Diff line number Diff line
@@ -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"
@@ -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)
                    }
                }
            }
        }
    }
}