Skip to content

Upgraded to Support up to Android API 31

Compare
Choose a tag to compare
@alkathirikhalid alkathirikhalid released this 19 Nov 09:41
· 15 commits to master since this release

Connection v1.05 support Android API 16 up to the latest Android API 31

  • Upgraded build gradle from 3.5.3 to 3.5.4
  • Replaced deprecated jcenter with mavenCentral repo
  • Clean up reduce size from about 50 KB to 20 KB

You may add it in your project either:

  • implementation 'com.github.alkathirikhalid:connection:v1.05'

or add connection.aar file in lib folder

  • implementation fileTree(dir: "libs", include: ["*.aar"])

Known problems with Gradle 7 error

A problem occurred evaluating root project 'Your App'.

Build was configured to prefer settings repositories over project repositories but repository 'Google' was added by build file 'build.gradle'

Fix, in settings.gradle add add jitpack repo

dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() maven { url 'https://jitpack.io' } jcenter() // Warning: this repository is going to shut down soon } } rootProject.name = "The Test" include ':app'