Add ability to release via Bintray.
This commit is contained in:
parent
b73b9a0509
commit
85be2aed0a
@ -17,9 +17,11 @@
|
|||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
jcenter()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:1.0.0'
|
classpath 'com.android.tools.build:gradle:1.0.0'
|
||||||
|
classpath 'com.novoda:bintray-release:0.2.7'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
apply plugin: 'bintray-release'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 21
|
compileSdkVersion 21
|
||||||
@ -47,3 +48,13 @@ android.libraryVariants.all { variant ->
|
|||||||
task.from variant.javaCompile.destinationDir
|
task.from variant.javaCompile.destinationDir
|
||||||
artifacts.add('archives', task);
|
artifacts.add('archives', task);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
publish {
|
||||||
|
repoName = 'exoplayer'
|
||||||
|
userOrg = 'google'
|
||||||
|
groupId = 'com.google.android.exoplayer'
|
||||||
|
artifactId = 'exoplayer'
|
||||||
|
version = 'r1.2.3'
|
||||||
|
description = 'The ExoPlayer library.'
|
||||||
|
website = 'https://github.com/google/ExoPlayer'
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user