-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reverts commit 43ac307.
- Loading branch information
秋逸
committed
Oct 26, 2016
1 parent
00960d7
commit 890fc14
Showing
62 changed files
with
80 additions
and
20,287 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
apply plugin: 'com.android.library' | ||
apply plugin: 'com.github.dcendents.android-maven' | ||
apply plugin: 'com.jfrog.bintray' | ||
|
||
android { | ||
compileSdkVersion 24 | ||
|
@@ -30,26 +32,70 @@ dependencies { | |
testCompile 'junit:junit:4.12' | ||
} | ||
|
||
ext { | ||
bintrayRepo = 'maven' | ||
bintrayName = 'vontools' | ||
|
||
publishedGroupId = 'com.vondear.vontools' | ||
libraryName = 'VonTools' | ||
artifact = 'vontools' | ||
|
||
libraryDescription = 'A Tools on Android' | ||
|
||
siteUrl = 'https://github.com/vondear/VonTools' | ||
gitUrl = 'https://github.com/vondear/VonTools.git' | ||
|
||
libraryVersion = '1.0.0' | ||
|
||
developerId = 'vondear' | ||
developerName = 'vondear' | ||
developerEmail = '[email protected]' | ||
def siteUrl = 'https://github.com/vondear/VonTools' | ||
def gitUrl = 'https://github.com/vondear/VonTools.git' | ||
group = "com.vondear.vontools" // Maven Group ID for the artifact,一般填你唯一的包名 | ||
install{ | ||
repositories.mavenInstaller { | ||
// This generates POM.xml with proper parameters | ||
pom { | ||
project { | ||
packaging 'aar' | ||
// Add your description here | ||
name 'Android Tools' //项目的描述 你可以多写一点 | ||
url siteUrl | ||
// Set your license | ||
licenses { | ||
license { | ||
name 'The Apache Software License, Version 2.0' | ||
url 'http://www.apache.org/licenses/LICENSE-2.0.txt' | ||
} | ||
} | ||
developers { | ||
developer { | ||
id 'von' //填写的一些基本信息 | ||
name 'vondear' | ||
email '[email protected]' | ||
} | ||
} | ||
scm { | ||
connection gitUrl | ||
developerConnection gitUrl | ||
url siteUrl | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
licenseName = 'The Apache Software License, Version 2.0' | ||
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt' | ||
allLicenses = ["Apache-2.0"] | ||
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 = "VonTool" //发布到JCenter上的项目名字 | ||
websiteUrl = siteUrl | ||
vcsUrl = gitUrl | ||
licenses = ["Apache-2.0"] | ||
publish = true | ||
} | ||
} |
26 changes: 0 additions & 26 deletions
26
VonTools/src/androidTest/java/com/vondear/vontool/ExampleInstrumentedTest.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
102 changes: 0 additions & 102 deletions
102
VonTools/src/main/java/com/vondear/vontool/utils/VonActivityUtils.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.