Skip to content

Commit

Permalink
删除上传仓库代码
Browse files Browse the repository at this point in the history
删除上传仓库代码
  • Loading branch information
zzz40500 committed Aug 31, 2015
1 parent 8fd2b59 commit 09d01e8
Showing 1 changed file with 0 additions and 85 deletions.
85 changes: 0 additions & 85 deletions shapeloading/build.gradle
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 '[email protected]'
}
}
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
}
}

0 comments on commit 09d01e8

Please sign in to comment.