Skip to content

Commit e5a17bd

Browse files
committed
Testing and publishing addons.
1 parent e22827d commit e5a17bd

File tree

5 files changed

+12
-29
lines changed

5 files changed

+12
-29
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ buildscript {
55
google()
66
jcenter()
77
mavenCentral()
8+
maven { url "https://dl.bintray.com/chattylabs/maven" }
89
}
910
dependencies {
1011
classpath 'com.android.tools.build:gradle:3.1.3'

demo/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
buildscript {
2+
repositories {
3+
jcenter()
4+
maven { url "https://dl.bintray.com/chattylabs/maven" }
5+
}
6+
}
7+
18
repositories {
29
maven { url "https://dl.bintray.com/chattylabs/maven" }
310
}
@@ -39,10 +46,6 @@ android {
3946
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
4047
}
4148
}
42-
43-
// packagingOptions {
44-
// exclude 'META-INF/io.netty.versions.properties'
45-
// }
4649
}
4750

4851
dependencies {
@@ -64,9 +67,6 @@ dependencies {
6467
// SDK
6568
implementation 'net.hockeyapp.android:HockeySDK:5.1.0'
6669
implementation "com.chattylabs.sdk.android:common:+"
67-
//implementation 'com.chattylabs.sdk.android:conversational-flow-core:+'
68-
//implementation 'com.chattylabs.sdk.android:addon-android-speech:+'
69-
//implementation 'com.chattylabs.sdk.android:addon-google-speech:+'
7070
implementation project(':sdk-conversational-flow-core')
7171
implementation project(':sdk-addon-android-speech')
7272
implementation project(':sdk-addon-google-speech')
@@ -78,7 +78,7 @@ dependencies {
7878
}
7979

8080
task copySecretKey(type: Copy) {
81-
// Search this on internet and ADD the Env Variable on your Machine.
81+
// Search GOOGLE_APPLICATION_CREDENTIALS on internet and ADD the Env Variable on your Machine.
8282
def File secretKey = file "$System.env.GOOGLE_APPLICATION_CREDENTIALS"
8383
from secretKey.getParent()
8484
include secretKey.getName()

sdk-addon-android-speech/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
buildscript {
22
repositories {
33
jcenter()
4+
maven { url "https://dl.bintray.com/chattylabs/maven" }
45
}
56
dependencies {
67
classpath 'com.novoda:bintray-release:0.8.1'
@@ -45,7 +46,6 @@ dependencies {
4546
kapt 'com.google.dagger:dagger-compiler:2.15'
4647
// SDK
4748
api 'com.chattylabs.sdk.android:common:+'
48-
//api 'com.chattylabs.sdk.android:conversational-flow-core:+'
4949
api project(':sdk-conversational-flow-core')
5050
}
5151

sdk-addon-google-speech/build.gradle

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
buildscript {
22
repositories {
33
jcenter()
4+
maven { url "https://dl.bintray.com/chattylabs/maven" }
45
}
56
dependencies {
67
classpath 'com.novoda:bintray-release:0.8.1'
@@ -43,20 +44,6 @@ ext {
4344
grpcVersion = '1.13.1'
4445
}
4546

46-
configurations.all {
47-
// resolutionStrategy.force 'com.google.code.findbugs:jsr305:3.0.2'
48-
// resolutionStrategy.force 'com.google.http-client:google-http-client:1.23.0'
49-
// resolutionStrategy.force 'io.grpc:grpc-stub:1.13.1'
50-
// resolutionStrategy.force 'io.grpc:grpc-auth:1.13.1'
51-
// resolutionStrategy.force 'io.grpc:grpc-protobuf:1.13.1'
52-
//resolutionStrategy.force 'io.grpc:grpc-netty:1.13.1'
53-
//resolutionStrategy.force 'com.google.guava:guava:20.0'
54-
// resolutionStrategy.force "com.android.support:support-annotations:$supportLibraryVersion"
55-
56-
// exclude module: 'httpclient'
57-
// exclude module: 'jsr305'
58-
}
59-
6047
dependencies {
6148
implementation fileTree(dir: 'libs', include: ['*.jar'])
6249

@@ -66,16 +53,10 @@ dependencies {
6653

6754
// SDK
6855
api 'com.chattylabs.sdk.android:common:+'
69-
//api 'com.chattylabs.sdk.android:conversational-flow-core:+'
7056
api project(':sdk-conversational-flow-core')
7157

7258
// Google Cloud
7359
implementation "io.grpc:grpc-okhttp:$grpcVersion"
74-
//implementation "io.grpc:grpc-protobuf-lite:$grpcVersion"
75-
//implementation "io.grpc:grpc-stub:$grpcVersion"
76-
//implementation "io.grpc:grpc-auth:$grpcVersion"
77-
//implementation "io.grpc:grpc-netty:1.13.1"
78-
//implementation "net.sourceforge.argparse4j:argparse4j:0.8.1"
7960
implementation "com.google.cloud:google-cloud-texttospeech:0.55.0-beta"
8061
implementation "com.google.cloud:google-cloud-speech:0.55.0-beta"
8162
}

sdk-conversational-flow-core/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
buildscript {
22
repositories {
33
jcenter()
4+
maven { url "https://dl.bintray.com/chattylabs/maven" }
45
}
56
dependencies {
67
classpath 'com.novoda:bintray-release:0.8.1'

0 commit comments

Comments
 (0)