Skip to content

Commit fbc3df3

Browse files
Merge branch 'develop'
2 parents a1c0569 + 8a7693c commit fbc3df3

File tree

5 files changed

+24
-20
lines changed

5 files changed

+24
-20
lines changed

build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ version = '1.8.5'
2424
}
2525

2626
dependencies {
27-
classpath 'com.android.tools.build:gradle:0.11.1'
27+
classpath 'com.android.tools.build:gradle:0.12.0'
2828
classpath 'com.github.dcendents:android-maven-plugin:1.0'
2929
}
3030
}
@@ -36,6 +36,6 @@ version = '1.8.5'
3636
}
3737

3838
task wrapper(type: Wrapper) {
39-
description "Generates the gradle wrapper"
40-
gradleVersion = "1.12"
39+
description 'Generates the gradle wrapper'
40+
gradleVersion = '1.12'
4141
}

gradle/wrapper/gradle-wrapper.jar

791 Bytes
Binary file not shown.
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Tue Jun 24 02:33:49 CEST 2014
1+
#Fri Jul 11 10:05:20 CEST 2014
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=http\://services.gradle.org/distributions/gradle-1.12-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-1.12-all.zip

library/build.gradle

+15-11
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
apply plugin: 'android-library'
16+
apply plugin: 'com.android.library'
1717
apply plugin: 'android-maven'
1818
apply plugin: 'signing'
1919

@@ -22,10 +22,10 @@ dependencies {
2222
}
2323

2424
android {
25-
buildToolsVersion '19.1.0'
25+
buildToolsVersion '20.0.0'
2626
compileSdkVersion 19
2727
defaultConfig {
28-
versionCode 7
28+
versionCode 10
2929
versionName = project.version
3030
minSdkVersion 8
3131
targetSdkVersion 19
@@ -37,36 +37,39 @@ android {
3737
}
3838
}
3939

40-
group = "de.keyboardsurfer.android.widget"
41-
artifactId = "crouton"
40+
group = 'de.keyboardsurfer.android.widget'
41+
artifactId = 'crouton'
4242

4343
android.libraryVariants.all { variant ->
4444
def name = variant.buildType.name
4545
if (name.equals(com.android.builder.core.BuilderConstants.DEBUG)) {
4646
return; // Skip debug builds.
4747
}
4848
task("javadoc${variant.name.capitalize()}", type: Javadoc) {
49-
description "Generates Javadoc for $variant.name."
49+
description 'Generates Javadoc for $variant.name.'
5050
source = variant.javaCompile.source
51-
ext.androidJar = "${android.sdkDirectory}/platforms/${android.compileSdkVersion}/android.jar"
51+
ext.androidJar = '${android.sdkDirectory}/platforms/${android.compileSdkVersion}/android.jar'
5252
classpath = files(variant.javaCompile.classpath.files) + files(ext.androidJar)
5353
}
5454

5555
task("bundleJavadoc${variant.name.capitalize()}", type: Jar) {
56-
description "Bundles Javadoc into zip for $variant.name."
57-
classifier = "javadoc"
56+
description 'Bundles Javadoc into zip for $variant.name'
57+
classifier = 'javadoc'
5858
from tasks["javadoc${variant.name.capitalize()}"]
5959
}
6060

6161
}
6262

6363
task sourcesJar(type: Jar) {
6464
classifier = 'sources'
65-
from android.sourceSets.main.java
65+
from android.sourceSets.main.java.srcDirs
6666
}
6767

6868
task jar(type: Jar) {
69-
from 'build/classes/release'
69+
from 'build/intermediates/classes/release'
70+
exclude '**/BuildConfig.class'
71+
exclude '**/R.class'
72+
exclude 'de/keyboardsurfer/mobile/'
7073
}
7174

7275
task javadocJar(type: Jar, dependsOn: "javadocRelease") {
@@ -82,6 +85,7 @@ artifacts {
8285

8386
signing {
8487
sign configurations.archives
88+
sign configurations.compile
8589
}
8690

8791
uploadArchives {

sample/build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
apply plugin: 'android'
17+
apply plugin: 'com.android.application'
1818

1919
buildscript {
2020
repositories {
@@ -33,14 +33,14 @@ repositories {
3333
dependencies {
3434
compile project(':crouton-library')
3535
compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar'
36-
compile 'com.android.support:support-v4:19.1.+'
37-
compile('com.viewpagerindicator:library:2.4.2-SNAPSHOT') {
36+
compile 'com.android.support:support-v4:19.1.0'
37+
compile('com.viewpagerindicator:library:2.4.2-SNAPSHOT@aar') {
3838
exclude group: 'com.google.android', module: 'support-v4'
3939
}
4040
}
4141

4242
android {
43-
buildToolsVersion '19.1.0'
43+
buildToolsVersion '20.0.0'
4444
compileSdkVersion 19
4545

4646
defaultConfig {

0 commit comments

Comments
 (0)