Skip to content

Commit

Permalink
Updated configuration for bintray upload
Browse files Browse the repository at this point in the history
  • Loading branch information
techyourchance committed Jul 21, 2018
1 parent e5bab6c commit ac6af68
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ buildscript {

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files

classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
}
}

Expand Down
36 changes: 36 additions & 0 deletions threadposter/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,32 @@
apply plugin: 'com.android.library'
apply plugin: 'com.jfrog.bintray'
apply plugin: 'com.github.dcendents.android-maven'

ext {

bintrayRepo = "ThreadPoster"
bintrayName = "com.techyourchance.threadposter"

libraryName = 'threadposter'

publishedGroupId = 'com.techyourchance.threadposter'
artifact = 'threadposter'
libraryVersion = '0.7.0'

libraryDescription = 'Unit testable threading abstraction for Android'

siteUrl = 'https://github.com/techyourchance/thread-poster'
gitUrl = 'https://github.com/techyourchance/thread-poster.git'


developerId = 'techyourchance'
developerName = 'Vasiliy Zukanov'
developerEmail = 'techyourchance@gmail.com'

licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
}

android {
compileSdkVersion 25
Expand All @@ -23,3 +51,11 @@ dependencies {
testCompile 'junit:junit:4.12'
testCompile "org.mockito:mockito-core:2.10.0"
}

//Add these lines to publish library to bintray. This is the readymade scripts made by github user nuuneoi to make uploading to bintray easy.
//Place it at the end of the file
if (project.rootProject.file('local.properties').exists()) {
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'
}

0 comments on commit ac6af68

Please sign in to comment.