Skip to content

Commit

Permalink
Remove the Bintray integration.
Browse files Browse the repository at this point in the history
  • Loading branch information
ocollet committed May 21, 2021
1 parent ac2b804 commit ab08887
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 31 deletions.
7 changes: 2 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ buildscript {
ext.kotlin_version = '1.3.11'
repositories {
google()
jcenter()

mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -20,8 +18,7 @@ buildscript {
allprojects {
repositories {
google()
jcenter()

mavenCentral()
}
}

Expand Down
26 changes: 0 additions & 26 deletions photopicker/publish.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.bintray'

version '1.0.0' // your library version
group 'com.unsplash.pickerandroid' // whatever group name you'd like
Expand Down Expand Up @@ -30,28 +29,3 @@ publishing {
}
}
}

bintray {
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
user = properties.getProperty('user')
key = properties.getProperty('apiKey')
publications = ['Production']
configurations = ['archives']
// Default: false. Whether to run this as dry-run, without deploying
dryRun = false
// Default: false. Whether to override version artifacts already published
override = false
// Default: false. Whether version should be auto published after an upload
publish = true
pkg {
repo = 'unsplash-photopicker-android' // the name of the repository you created on Bintray
name = 'com.unsplash.pickerandroid.photopicker' // the name of the package you created inside it
userOrg = 'unsplash'
version {
name = this.version
released = new Date()
vcsTag = this.version
}
}
}

0 comments on commit ab08887

Please sign in to comment.