From 09d01e8106ace7cbadae6465c84e09bbd98f929a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=BE=E4=BC=9F=E6=98=8E?= Date: Mon, 31 Aug 2015 11:06:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=B8=8A=E4=BC=A0=E4=BB=93?= =?UTF-8?q?=E5=BA=93=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 删除上传仓库代码 --- shapeloading/build.gradle | 85 --------------------------------------- 1 file changed, 85 deletions(-) diff --git a/shapeloading/build.gradle b/shapeloading/build.gradle index b3d2967..0086ed7 100644 --- a/shapeloading/build.gradle +++ b/shapeloading/build.gradle @@ -1,7 +1,4 @@ apply plugin: 'com.android.library' -apply plugin: 'com.github.dcendents.android-maven' -apply plugin: 'com.jfrog.bintray' -version = "1.0.3" android { compileSdkVersion 21 @@ -27,85 +24,3 @@ dependencies { compile 'com.nineoldandroids:library:2.4.0' } -//publish { -// groupId = 'com.mingle.zzz40500' -// artifactId = 'shapeLoadingView' -// publishVersion = '1.0.3' -// description='Loading view with pretty animation.' -// website = 'https://github.com/zzz40500/android-shapeLoadingView' -//} - -def siteUrl = 'https://github.com/zzz40500/android-shapeLoadingView' -def gitUrl = 'https://github.com/zzz40500/android-shapeLoadingView.git' - -group = "com.mingle.zzz40500" - -install { - repositories.mavenInstaller { - // This generates POM.xml with proper parameters - pom { - project { - packaging 'aar' - name 'ShapeLoadingView' - url siteUrl - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - } - } - developers { - developer { - id 'zzz40500' - name 'qingwei' - email 'wyh405003836@126.com' - } - } - scm { - connection gitUrl - developerConnection gitUrl - url siteUrl - } - } - } - } -} - - - -task sourcesJar(type: Jar) { - from android.sourceSets.main.java.srcDirs - classifier = 'sources' -} - -task javadoc(type: Javadoc) { - source = android.sourceSets.main.java.srcDirs - classpath += project.files( android.getBootClasspath().join(File.pathSeparator)) -} - -task javadocJar(type: Jar, dependsOn: javadoc) { - classifier = 'javadoc' - from javadoc.destinationDir -} - -artifacts { - archives javadocJar - archives sourcesJar -} - -Properties properties = new 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 = "ShapeLoadingView" - // #CONFIG# project name in jcenter - websiteUrl = siteUrl - vcsUrl = gitUrl - licenses = ["Apache-2.0"] - publish = true - } -} \ No newline at end of file