Skip to content

Calindra/eitri-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

eitri-android

Importing the eitri-android Maven artifact

The eitri-android artifact is available on Maven Central. You can view it here:
eitri-android on Maven Central

Gradle Groovy DSL (build.gradle)

dependencies {
    implementation "tech.eitri:eitri-android:$version"
}

Gradle Kotlin DSL (build.gradle.kts)

dependencies {
    implementation("tech.eitri:eitri-android:$version")
}

Maven (pom.xml)

<dependencies>
  <dependency>
    <groupId>tech.eitri</groupId>
    <artifactId>eitri-android</artifactId>
    <version>${version}</version>
  </dependency>
</dependencies>

Minimum Requirements

  • minSdkVersion - Android lollipop 5.0+

Migrating from legacy GitHub Packages

For users trying to update to newer versions or migrating from legacy GitHub Packages, you must configure your repositories accordingly.

Gradle (settings.gradle or settings.gradle.kts)

Please remove the following block where a Maven repo was declared:

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        mavenLocal()
        google()
        mavenCentral()
        // REMOVE ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
        maven {
            name = "GitHubPackages"
            url  = uri("https://maven.pkg.github.com/Calindra/eitri-android")
            credentials {
                // Store these in gradle.properties for security:
                username = project.findProperty("eitri.github.username") ?: "YOUR_GITHUB_USERNAME"
                password = project.findProperty("eitri.github.token")    ?: "YOUR_GITHUB_TOKEN"
            }
        }
        // REMOVE.END ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
    }
}

Then, update your implementation line by changing the group from tech.calindra.eitri to tech.eitri:

// change this
implementation "tech.calindra.eitri:eitri-android:$version"
// to
implementation "tech.eitri:eitri-android:$version"

My App uses 2.x.y version

Change your version to the latest 2.x.y release:

2.36.1

Version 2.36.1 is backward compatible with all previously released 2.x.y versions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages