Skip to content

Commit

Permalink
移除发布到jcenter上相关的配置
Browse files Browse the repository at this point in the history
  • Loading branch information
hpdx committed Aug 21, 2021
1 parent 5516904 commit 4b61330
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 64 deletions.
5 changes: 1 addition & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ buildscript {

dependencies {
classpath 'com.android.tools.build:gradle:4.2.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}

Expand All @@ -24,7 +22,6 @@ allprojects {
google()

maven { url "https://jitpack.io" }
maven { url 'https://dl.bintray.com/hpdx/maven/' }
}
}

Expand All @@ -44,7 +41,7 @@ ext {

frescoVersion = '2.5.0'
SSIVVersion = '3.10.0'
frescoHelperVersion = '2.4.0'
frescoHelperVersion = '2.5.0'

// Dependencies Libraries
dependencies = ["support-v4" : "androidx.legacy:legacy-support-v4:1.0.0",
Expand Down
60 changes: 0 additions & 60 deletions fresco-helper/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.jfrog.bintray'

android {
compileSdkVersion rootProject.ext.compileSdkVersion
Expand Down Expand Up @@ -88,62 +86,4 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
artifacts {
archives javadocJar
archives sourcesJar
}

install {
repositories.mavenInstaller {
pom.project {
name 'fresco-helper'
description 'Android上图片加载库Fresco的使用帮助类'
url 'https://github.com/hpdx/fresco-helper'
inceptionYear '2016'

packaging 'aar'
groupId 'com.facebook.fresco.helper'
artifactId 'fresco-helper'
version rootProject.ext.frescoHelperVersion

licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}

scm {
connection 'https://github.com/hpdx/fresco-helper.git' // Git仓库地址。
developerConnection 'https://github.com/hpdx/fresco-helper.git' // Git仓库地址。
url 'https://github.com/hpdx/fresco-helper' // 项目主页。
}

developers {
developer {
id 'android_ls'
name 'android_ls'
email '[email protected]'
}
}
}
}
}

Properties properties = new Properties()
// 读取properties的配置信息
properties.load(project.rootProject.file('local.properties').newDataInputStream())

bintray {
user = properties.getProperty("bintray.user")
key = properties.getProperty("bintray.apikey")
configurations = ['archives']
pkg {
repo = 'maven'
name = 'fresco-helper'
userOrg = user
licenses = ['Apache-2.0']
websiteUrl = 'https://github.com/hpdx/fresco-helper'
vcsUrl = 'https://github.com/hpdx/fresco-helper.git'
publish = true
publicDownloadNumbers = true
}
}

0 comments on commit 4b61330

Please sign in to comment.