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

Commit 7bdcb14d authored by Amit Kumar's avatar Amit Kumar 💻 Committed by Nishith Khanna
Browse files

lineage-sdk: Introduce /e/ UI changes

Change-Id: I7595a2a66dc46298a1b696449d2ac5e952f7aead

Add mail related icons

3654-R-color_code_for_view_on_accent

[R] update dark mode colors

adding color value

3942-R-revert_back_text_colors

issue: e/backlog#3942

4969-R-Add_missing_colors

4969-R-Fix_color_code_mismatch_issue

271-q-Update_light_accent_color

issue: https://gitlab.e.foundation/e/os/backlog/-/issues/271
parent 7e5642ae
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
# Ignore the samples directory, since they should be separate git projects
samples/
e-ui-sdk.jar
.DS_Store
+22 −0
Original line number Diff line number Diff line
stages:
  - update-from-upstream
  - build-sdk
  - publish 

include:
  - project: 'e/templates'
    ref: master
    file: '/gitlab-ci/.gitlab-ci-import-updates-from-upstream.yml'

image: "registry.gitlab.e.foundation:5000/e/apps/docker-android-apps-cicd:latest"

before_script:
- chmod a+x buildSdk.sh

build-sdk:
  stage: build-sdk
  script:
  - ./buildSdk.sh
  artifacts:
    paths:
    - e-ui-sdk.jar

publish:
  only:
    - v1-r
  stage: publish
  script: 
    - 'gradle publish'
+2 −1
Original line number Diff line number Diff line
@@ -51,7 +51,8 @@ android_app {

    resource_dirs: [
        "lineage/res/res",
        "sdk/res/res",
        "lineage/res/res-symbol",
        "sdk/res/res"
    ],

    // Create package-export.apk, which other packages can use to get
+26 −0
Original line number Diff line number Diff line
@@ -63,6 +63,32 @@ LOCAL_JAR_EXCLUDE_FILES := none

LOCAL_STATIC_JAVA_LIBRARIES := org.lineageos.platform.sdk

include $(BUILD_STATIC_JAVA_LIBRARY)
$(LOCAL_MODULE) : $(built_aar)

# ===========================================================

# e sdk
# ============================================================
include $(CLEAR_VARS)

LOCAL_MODULE := e-sdk.aar

LOCAL_JACK_ENABLED := disabled

LOCAL_CONSUMER_PROGUARD_FILE := $(LOCAL_PATH)/sdk/proguard.txt

LOCAL_RESOURCE_DIR += $(addprefix $(LOCAL_PATH)/, lineage/res/res)
LOCAL_MANIFEST_FILE := lineage/res/AndroidManifest.xml

lineage_sdk_exclude_files := 'lineageos/'
LOCAL_JAR_EXCLUDE_PACKAGES := $(lineage_sdk_exclude_files)
LOCAL_JAR_EXCLUDE_FILES := none

LOCAL_JAVA_LIBRARIES := \
    $(lineage_sdk_LOCAL_JAVA_LIBRARIES)


include $(BUILD_STATIC_JAVA_LIBRARY)
$(LOCAL_MODULE) : $(built_aar)

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