From 4b613306c5f8c79114ee3ace75da49bc2346893a Mon Sep 17 00:00:00 2001 From: hpdx Date: Sat, 21 Aug 2021 11:42:19 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E5=8F=91=E5=B8=83=E5=88=B0jc?= =?UTF-8?q?enter=E4=B8=8A=E7=9B=B8=E5=85=B3=E7=9A=84=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 5 +--- fresco-helper/build.gradle | 60 -------------------------------------- 2 files changed, 1 insertion(+), 64 deletions(-) diff --git a/build.gradle b/build.gradle index c982372..3068668 100644 --- a/build.gradle +++ b/build.gradle @@ -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' } } @@ -24,7 +22,6 @@ allprojects { google() maven { url "https://jitpack.io" } - maven { url 'https://dl.bintray.com/hpdx/maven/' } } } @@ -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", diff --git a/fresco-helper/build.gradle b/fresco-helper/build.gradle index 52af90c..eaa0719 100644 --- a/fresco-helper/build.gradle +++ b/fresco-helper/build.gradle @@ -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 @@ -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 'android_ls@163.com' - } - } - } - } -} - -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 - } } \ No newline at end of file