Skip to content

Commit

Permalink
添加上传库设置
Browse files Browse the repository at this point in the history
  • Loading branch information
hugeterry committed Jan 30, 2017
1 parent 60ec12c commit b222019
Show file tree
Hide file tree
Showing 36 changed files with 3,341 additions and 3,186 deletions.
7 changes: 3 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4.0.0"
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5' }
}

allprojects {
Expand Down
72 changes: 70 additions & 2 deletions coordinatortablayout/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.jfrog.bintray'

version = "1.0.0"

android {
compileSdkVersion 25
Expand All @@ -8,8 +12,7 @@ android {
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"

versionName "1.0.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

}
Expand All @@ -30,3 +33,68 @@ dependencies {
compile 'com.android.support:design:25.1.0'
testCompile 'junit:junit:4.12'
}

def siteUrl = 'https://github.com/hugeterry/CoordinatorTabLayout'
def gitUrl = 'https://github.com/hugeterry/CoordinatorTabLayout.git'
group = "cn.hugeterry.coordinatortablayout"
install {
repositories.mavenInstaller {
pom {
project {
packaging 'aar'
name ''
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 'hugeterry'
name 'HugeTerry'
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 = "CoordinatorTabLayout"
name = "CoordinatorTabLayout"
websiteUrl = siteUrl
vcsUrl = gitUrl
licenses = ["Apache-2.0"]
publish = true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ public final class BuildConfig {
public static final String BUILD_TYPE = "debug";
public static final String FLAVOR = "";
public static final int VERSION_CODE = 1;
public static final String VERSION_NAME = "1.0";
public static final String VERSION_NAME = "1.0.0";
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ public final class BuildConfig {
public static final String BUILD_TYPE = "debug";
public static final String FLAVOR = "";
public static final int VERSION_CODE = 1;
public static final String VERSION_NAME = "1.0";
public static final String VERSION_NAME = "1.0.0";
}

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

public final class R {
public static final class attr {
public static final int layoutManager = 0x7f0100e8;
public static final int reverseLayout = 0x7f0100ea;
public static final int spanCount = 0x7f0100e9;
public static final int stackFromEnd = 0x7f0100eb;
public static final int layoutManager = 0x7f0100e9;
public static final int reverseLayout = 0x7f0100eb;
public static final int spanCount = 0x7f0100ea;
public static final int stackFromEnd = 0x7f0100ec;
}
public static final class dimen {
public static final int item_touch_helper_max_drag_scroll_per_frame = 0x7f07007d;
Expand All @@ -22,7 +22,7 @@ public static final class id {
public static final int item_touch_helper_previous_elevation = 0x7f0c0005;
}
public static final class styleable {
public static final int[] RecyclerView = { 0x010100c4, 0x010100f1, 0x7f0100e8, 0x7f0100e9, 0x7f0100ea, 0x7f0100eb };
public static final int[] RecyclerView = { 0x010100c4, 0x010100f1, 0x7f0100e9, 0x7f0100ea, 0x7f0100eb, 0x7f0100ec };
public static final int RecyclerView_android_descendantFocusability = 1;
public static final int RecyclerView_android_orientation = 0;
public static final int RecyclerView_layoutManager = 2;
Expand Down
Loading

0 comments on commit b222019

Please sign in to comment.