From e01e937f3ce9bdf80b0b96ccf53ab5b94f96e640 Mon Sep 17 00:00:00 2001 From: Hasina Herintsoa Date: Wed, 26 May 2021 20:54:20 +0200 Subject: [PATCH] chore: update version to 1.0.3 Migration from jcenter to mavenCentral --- README.md | 3 ++- build.gradle | 10 +++++----- flextools/build.gradle | 6 +++--- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index f65db77..bd1d82d 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,10 @@ An Android Library which uses the FlexboxLayout https://github.com/google/flexbo Add to your app `build.gradle` : ```` dependencies { - implementation 'io.github.mrherintsoahasina:flextools:1.0.1' + implementation 'io.github.mrherintsoahasina:flextools:1.0.3' } ```` +**Starting from 1.0.3, the groupId is changed to `io.github.mrherintsoahasina` due to migration from JCenter to Maven Central.** ## Version 1.0.0 - contains the class FlexRadioGroup which extends the FlexBoxLayout. diff --git a/build.gradle b/build.gradle index 9d5c7e6..50e5991 100644 --- a/build.gradle +++ b/build.gradle @@ -7,17 +7,17 @@ buildscript { // Android ext.compile_sdk_version = 30 ext.min_sdk_version = 17 - ext.version_code = 2 - ext.version_name = '1.0.1' + ext.version_code = 4 + ext.version_name = '1.0.3' // Dependencies ext.android_annotation_version = '1.3.0-alpha01' ext.appcompat_version = '1.4.0-alpha01' - ext.flexbox_version = '1.1.0' + ext.flexbox_version = '3.0.0' ext.legacy_support_v4_version = '1.0.0' repositories { - jcenter() + mavenCentral() google() } dependencies { @@ -35,7 +35,7 @@ plugins { allprojects { repositories { - jcenter() + mavenCentral() google() } } diff --git a/flextools/build.gradle b/flextools/build.gradle index 4785500..c8af06b 100644 --- a/flextools/build.gradle +++ b/flextools/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'com.android.library' ext { PUBLISH_GROUP_ID = 'io.github.mrherintsoahasina' - PUBLISH_VERSION = '1.0.1' + PUBLISH_VERSION = '1.0.3' PUBLISH_ARTIFACT_ID = 'flextools' } @@ -25,8 +25,8 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) - implementation "com.google.android:flexbox:$flexbox_version" - implementation "androidx.annotation:annotation:$android_annotation_version" + api "com.google.android.flexbox:flexbox:$flexbox_version" + api "androidx.annotation:annotation:$android_annotation_version" } apply from: "${rootProject.projectDir}/scripts/publish-module.gradle"