Add gradle setup to publish to jcenter

This commit is contained in:
Fredrik Fornwall
2017-04-04 23:31:00 +02:00
parent 5b14124258
commit 4aefa5049b
3 changed files with 114 additions and 0 deletions

View File

@@ -1,5 +1,21 @@
plugins {
id "com.jfrog.bintray" version "1.7"
id "com.github.dcendents.android-maven" version "1.5"
}
apply plugin: 'com.android.library'
ext {
bintrayName = 'terminal-emulator'
publishedGroupId = 'com.termux'
libraryName = 'TerminalEmulator'
artifact = 'terminal-emulator'
libraryDescription = 'The terminal emulator used in Termux'
siteUrl = 'https://github.com/termux/termux'
gitUrl = 'https://github.com/termux/termux.git'
libraryVersion = '0.49'
}
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
@@ -42,3 +58,5 @@ tasks.withType(Test) {
dependencies {
testCompile 'junit:junit:4.12'
}
apply from: '../scripts/bintray-publish.gradle'