Added BinTray config for publishing
This commit is contained in:
Родитель
e8c9776dfd
Коммит
c11acf601e
|
@ -9,6 +9,7 @@ apply plugin: 'kotlin-android'
|
|||
apply plugin: 'kotlin-android-extensions'
|
||||
|
||||
apply plugin: 'maven-publish'
|
||||
apply plugin: 'com.jfrog.bintray'
|
||||
|
||||
android {
|
||||
compileSdkVersion 28
|
||||
|
@ -99,3 +100,18 @@ publishing {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
bintray {
|
||||
user = project.hasProperty('bintrayUser') ? "$bintrayUser" : ""
|
||||
key = project.hasProperty('bintrayKey') ? "$bintrayKey" : ""
|
||||
publications = ['OfficeUIFabric']
|
||||
publish = true
|
||||
pkg {
|
||||
repo = 'generic'
|
||||
name = 'ui-fabric-android'
|
||||
version {
|
||||
name = android.defaultConfig.versionName
|
||||
vcsTag = android.defaultConfig.versionName
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,7 @@ buildscript {
|
|||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.2.1'
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.+'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче