diff --git a/README.md b/README.md index 3c668b3..497aee8 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,8 @@ StickyTimeLine is timeline view for android. - Remove the way of using xml view of VerticalSectionItemDecoration - Add dot size attribute - `timeLineDotRadius`, `timeLineDotStrokeSize` - +- Support RTL (#26) + ## Result Screen Feel free to send me a pull request with your app and I'll link you here: diff --git a/app/build.gradle b/app/build.gradle index 19f76f9..1b9af00 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -49,10 +49,12 @@ dependencies { implementation "androidx.recyclerview:recyclerview:1.1.0" implementation 'androidx.cardview:cardview:1.0.0' implementation project(':stickytimelineview') +// implementation 'com.github.sangcomz:StickyTimeLine:v0.1.1' + implementation "androidx.appcompat:appcompat:1.2.0" implementation 'androidx.constraintlayout:constraintlayout:2.0.1' testImplementation 'junit:junit:4.13' androidTestImplementation 'androidx.test:runner:1.3.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' -} +} \ No newline at end of file diff --git a/build.gradle b/build.gradle index d6fd939..be38669 100644 --- a/build.gradle +++ b/build.gradle @@ -8,6 +8,7 @@ buildscript { } repositories { + mavenLocal() google() jcenter() } @@ -22,6 +23,7 @@ buildscript { allprojects { repositories { + mavenLocal() google() jcenter() } diff --git a/settings.gradle b/settings.gradle index a021b50..1ff9db9 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,7 +1,7 @@ include ':app', ':stickytimelineview' -gradle.ext.set('versionCode', 8) -gradle.ext.set('versionName', '0.1.0') +gradle.ext.set('versionCode', 9) +gradle.ext.set('versionName', '0.1.1') gradle.ext.set('minSdk', 16) gradle.ext.set('targetSdk', 28) diff --git a/stickytimelineview/build.gradle b/stickytimelineview/build.gradle index 769e61b..8e47cd7 100644 --- a/stickytimelineview/build.gradle +++ b/stickytimelineview/build.gradle @@ -1,14 +1,15 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' apply plugin: 'com.github.dcendents.android-maven' +apply plugin: 'maven-publish' group = 'com.github.sangcomz' +version = 'v' + gradle.versionName repositories { mavenCentral() } - android { compileSdkVersion gradle.compileSdk defaultConfig { @@ -40,3 +41,14 @@ dependencies { androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' } + +install { + repositories.mavenInstaller { + // only necessary if artifact ID diverges from project name + // the latter defaults to project directory name and can be + // configured in settings.gradle + pom.artifactId = 'StickyTimeLine' + // shouldn't be needed as this is the default anyway + pom.packaging = 'aar' + } +} \ No newline at end of file