Skip to content

Fix missing Lifecycle dependency#775

Open
arkon wants to merge 1 commit intodavideas:masterfrom
arkon:fix-build2
Open

Fix missing Lifecycle dependency#775
arkon wants to merge 1 commit intodavideas:masterfrom
arkon:fix-build2

Conversation

@arkon
Copy link

@arkon arkon commented Oct 18, 2021

This fixes the ability to consume the libraries via JitPack and somewhat addresses #768. I didn't test if it allows for publishing to Maven Central or not.

For example:

Root build.gradle:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

In your module's build.gradle:

dependencies {
        final flexible_adapter_version = 'c8013533';
        implementation 'com.github.arkon.FlexibleAdapter:flexible-adapter:$flexible_adapter_version'
        implementation 'com.github.arkon.FlexibleAdapter:flexible-adapter-databinding:$flexible_adapter_version'
        implementation 'com.github.arkon.FlexibleAdapter:flexible-adapter-livedata:$flexible_adapter_version'
        implementation 'com.github.arkon.FlexibleAdapter:flexible-adapter-ui:$flexible_adapter_version'
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant