Skip to content

Commit b2add68

Browse files
committed
Updated versioning plugin to accept mavenLocal or jCenter
1 parent 7513c70 commit b2add68

File tree

11 files changed

+34
-39
lines changed

11 files changed

+34
-39
lines changed

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,9 @@ $RECYCLE.BIN/
105105
*.msp
106106

107107
# Windows shortcuts
108-
*.lnk
108+
*.lnk
109+
110+
111+
## Custom
112+
113+
version.properties

app/build.gradle

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
plugins {
2-
id 'com.chattylabs.versioning' version '0.19.3'
3-
}
4-
51
repositories {
62
maven { url "https://dl.bintray.com/chattylabs/maven" }
73
}
84

95
apply plugin: 'com.android.application'
6+
apply plugin: 'com.chattylabs.versioning'
107
apply from: '../buildsystem/android.gradle'
118

129
versioning {

app/src/main/java/com/chattylabs/demo/voice/MainActivity.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,14 @@ public boolean onOptionsItemSelected(MenuItem item) {
8080
case R.id.demo_conversation:
8181
ContextCompat.startActivity(this,
8282
new Intent(this, ConversationCreatorActivity.class), null);
83+
return true;
8384
case R.id.demo_components:
8485
ContextCompat.startActivity(this,
8586
new Intent(this, MainActivity.class), null);
87+
return true;
88+
default:
89+
return super.onOptionsItemSelected(item);
8690
}
87-
return super.onOptionsItemSelected(item);
8891
}
8992

9093
@Override

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
buildscript {
22
ext.kotlin_version = '1.2.30'
33
repositories {
4+
mavenLocal()
45
google()
56
jcenter()
67
mavenCentral()
@@ -9,6 +10,7 @@ buildscript {
910
classpath 'com.android.tools.build:gradle:3.1.3'
1011
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1112
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.6'
13+
classpath 'com.chattylabs:versioning:+'
1214
}
1315
}
1416

sdk-addon-android-speech/build.gradle

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,13 @@ buildscript {
77
}
88
}
99

10-
plugins {
11-
id 'com.chattylabs.versioning' version '0.19.3'
12-
}
13-
1410
repositories {
1511
maven { url "https://dl.bintray.com/chattylabs/maven" }
1612
}
1713

1814
apply plugin: 'com.android.library'
1915
apply plugin: 'com.novoda.bintray-release'
16+
apply plugin: 'com.chattylabs.versioning'
2017
apply from: '../buildsystem/android.gradle'
2118

2219
group = 'com.chattylabs.sdk.android'
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
#Sat Jul 14 16:31:45 UTC 2018
1+
#Version Update
2+
#Tue Aug 07 16:44:50 BST 2018
23
screen=0
34
major=00
4-
sdk=00
5-
minor=13
6-
patch=14
5+
sdk=0
6+
minor=07
7+
patch=15

sdk-addon-google-speech/build.gradle

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,13 @@ buildscript {
77
}
88
}
99

10-
plugins {
11-
id 'com.chattylabs.versioning' version '0.19.3'
12-
}
13-
1410
repositories {
1511
maven { url "https://dl.bintray.com/chattylabs/maven" }
1612
}
1713

1814
apply plugin: 'com.android.library'
1915
apply plugin: 'com.novoda.bintray-release'
16+
apply plugin: 'com.chattylabs.versioning'
2017
apply from: '../buildsystem/android.gradle'
2118

2219
group = 'com.chattylabs.sdk.android'
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
#Wed Jul 11 11:35:10 UTC 2018
1+
#Version Update
2+
#Tue Aug 07 16:44:53 BST 2018
23
screen=0
34
major=00
4-
sdk=00
5-
minor=13
6-
patch=14
5+
sdk=0
6+
minor=04
7+
patch=03

sdk-conversational-flow-core/build.gradle

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,13 @@ buildscript {
77
}
88
}
99

10-
plugins {
11-
id 'com.chattylabs.versioning' version '0.19.3'
12-
}
13-
1410
repositories {
1511
maven { url "https://dl.bintray.com/chattylabs/maven" }
1612
}
1713

1814
apply plugin: 'com.android.library'
1915
apply plugin: 'com.novoda.bintray-release'
16+
apply plugin: 'com.chattylabs.versioning'
2017
apply from: '../buildsystem/android.gradle'
2118

2219
group = 'com.chattylabs.sdk.android'
@@ -25,11 +22,11 @@ version = android.defaultConfig.versionName
2522

2623
versioning {
2724

28-
tagPrefix "conv-flow-version/"
25+
tagPrefix "core-version/"
2926

3027
keywords {
31-
minor "[conv-flow-feature]"
32-
patch "[conv-flow-bug]", "[conv-flow-patch]"
28+
minor "[core-feature]"
29+
patch "[core-bug]", "[core-patch]"
3330
}
3431
}
3532

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
#Wed Jul 11 11:35:10 UTC 2018
1+
#Version Update
2+
#Tue Aug 07 16:44:51 BST 2018
23
screen=0
34
major=00
4-
sdk=00
5-
minor=13
6-
patch=14
5+
sdk=0
6+
minor=14
7+
patch=00

0 commit comments

Comments
 (0)