From 6c8449decf57ccf08a894684d49b5db91d17d0dd Mon Sep 17 00:00:00 2001 From: Alexey Danilov Date: Thu, 7 May 2015 15:53:05 +0300 Subject: [PATCH] publish to bintray --- README.md | 19 +++++----- library/build.gradle | 21 ++++++++++- library/pom.xml | 85 -------------------------------------------- 3 files changed, 29 insertions(+), 96 deletions(-) delete mode 100644 library/pom.xml diff --git a/README.md b/README.md index e04fc2b..ac7dda0 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,17 @@ -Video cache support for Android -============== +# Video cache support for Android [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-AndroidVideoCache-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/1751) -Why AndroidVideoCache? ----- +## Why AndroidVideoCache? Because android MediaPlayer doesn't cache video while streaming. -How to use? ----- +## How to use? Just add link to repository and dependency: ``` repositories { - maven { url 'https://github.com/danikula/AndroidVideoCache/raw/mvn-repo' } + maven { url 'https://dl.bintray.com/alexeydanilov/maven' } } ... -compile 'com.danikula:videocache:1.0' +compile 'com.danikula:videocache:1.0.1' ``` and use proxy for caching video: @@ -47,8 +44,10 @@ public void onDestroy() { See `sample` app for details. -License ----- +## Where published? +[Here](https://bintray.com/alexeydanilov/maven/videocache/view) + +## License Copyright 2014-2015 Alexey Danilov diff --git a/library/build.gradle b/library/build.gradle index 752dcbf..1f5b11c 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -1,5 +1,24 @@ +buildscript { + repositories { + jcenter() + } + dependencies { + classpath 'com.novoda:bintray-release:0.2.10' + } +} + apply plugin: 'java' +apply plugin: 'bintray-release' dependencies { compile 'com.google.android:android:1.6_r2' -} \ No newline at end of file +} + +publish { + userOrg = 'alexeydanilov' + groupId = 'com.danikula' + artifactId = 'videocache' + publishVersion = '1.0.1' + description = 'Cache support for android VideoView' + website = 'https://github.com/danikula/AndroidVideoCache' +} diff --git a/library/pom.xml b/library/pom.xml deleted file mode 100644 index b6f43d1..0000000 --- a/library/pom.xml +++ /dev/null @@ -1,85 +0,0 @@ - - 4.0.0 - com.danikula - videocache - jar - 1.0.1 - VideoCache - cache support for android VideoView - - - 1.7 - github - - - - - com.google.android - android - 2.2.1 - - - - - android-garden - - - - org.apache.maven.plugins - maven-compiler-plugin - 2.3.2 - - ${jdk.version} - ${jdk.version} - - - - - maven-deploy-plugin - 2.8.1 - - - internal.repo::default::file://${project.build.directory}/mvn-repo - - - - - - com.github.github - site-maven-plugin - 0.10 - - Maven artifacts for ${project.version} - true - ${project.build.directory}/mvn-repo - refs/heads/mvn-repo - - **/* - - true - AndroidVideoCache - danikula - - - - - site - - deploy - - - - - - - - - internal.repo - Temporary Staging Repository - file://${project.build.directory}/mvn-repo - - - - \ No newline at end of file