Skip to content

Commit 18e1696

Browse files
committed
bump version for 0.1.4 development
1 parent ca770e2 commit 18e1696

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'signing'
44

55
sourceCompatibility = 1.6
66
group = 'org.quanqi'
7-
version = "0.1.3"
7+
version = "0.1.4-SNAPSHOT"
88

99
repositories {
1010
mavenCentral()

src/main/groovy/org/quanqi/gradle/signing/AndroidApplicationSigning.groovy

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ class AndroidApplicationSigning implements Plugin<Project> {
1111

1212
public static final String KEY_ANDROID_KEY_STORE_CONFIG = "ANDROID_KEY_STORE_CONFIG"
1313

14-
def String adjustPath(String path) {
14+
static def adjustPath(path) {
1515
if (path.startsWith('~/')) {
16-
// todo check this.
1716
path = path.replaceFirst('~', System.getProperty('user.home'))
1817
return path
1918
} else {
@@ -28,6 +27,11 @@ class AndroidApplicationSigning implements Plugin<Project> {
2827

2928
@Override
3029
void apply(Project project) {
30+
project.extensions.create("key_store", AndroidApplicationSigningExtension.class)
31+
32+
if (project.hasProperty("${project.key_store.store}")) {
33+
34+
}
3135

3236
if (!project.plugins.findPlugin("com.android.application") && !project.plugins.findPlugin("android")) {
3337
throw new ProjectConfigurationException("The android plugin must be applied to the project", null)
@@ -41,7 +45,7 @@ class AndroidApplicationSigning implements Plugin<Project> {
4145
}
4246

4347
if (!keysXmlFile.exists()) {
44-
throw new FileNotFoundException(keysXmlFile.getAbsolutePath() + " dose not exits.")
48+
println("signing configration not")
4549
}
4650

4751
def slurper = new XmlSlurper();
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package org.quanqi.gradle.signing
2+
3+
/**
4+
* Created by cindy on 12/29/14.
5+
*/
6+
class AndroidApplicationSigningExtension {
7+
}

0 commit comments

Comments
 (0)