File tree Expand file tree Collapse file tree 13 files changed +16
-16
lines changed
src/main/java/io/grpc/clientcacheexample
src/main/java/io/grpc/helloworldexample
src/main/java/io/grpc/routeguideexample
src/main/java/io/grpc/strictmodehelloworldexample Expand file tree Collapse file tree 13 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 53
53
# Build examples
54
54
55
55
cd ./examples/android/clientcache
56
- ../../gradlew build
56
+ ../../gradlew build $GRADLE_FLAGS
57
57
cd ../routeguide
58
- ../../gradlew build
58
+ ../../gradlew build $GRADLE_FLAGS
59
59
cd ../helloworld
60
- ../../gradlew build
60
+ ../../gradlew build $GRADLE_FLAGS
61
61
cd ../strictmode
62
- ../../gradlew build
62
+ ../../gradlew build $GRADLE_FLAGS
63
63
64
64
# Skip APK size and dex count comparisons for non-PR builds
65
65
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ protobuf {
51
51
}
52
52
53
53
dependencies {
54
- implementation ' com.android.support :appcompat-v7:27 .0.2 '
54
+ implementation ' androidx.appcompat :appcompat:1 .0.0 '
55
55
56
56
// You need to build grpc-java to obtain these libraries below.
57
57
implementation ' io.grpc:grpc-okhttp:1.58.0-SNAPSHOT' // CURRENT_GRPC_VERSION
Original file line number Diff line number Diff line change 20
20
import android .content .Context ;
21
21
import android .os .AsyncTask ;
22
22
import android .os .Bundle ;
23
- import android . support . v7 .app .AppCompatActivity ;
23
+ import androidx . appcompat .app .AppCompatActivity ;
24
24
import android .text .TextUtils ;
25
25
import android .text .method .ScrollingMovementMethod ;
26
26
import android .util .Log ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ buildscript {
6
6
mavenCentral()
7
7
}
8
8
dependencies {
9
- classpath ' com.android.tools.build:gradle:4.2 .0'
9
+ classpath ' com.android.tools.build:gradle:7.4 .0'
10
10
classpath " com.google.protobuf:protobuf-gradle-plugin:0.9.4"
11
11
12
12
// NOTE: Do not place your application dependencies here; they belong
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ protobuf {
49
49
}
50
50
51
51
dependencies {
52
- implementation ' com.android.support :appcompat-v7:27 .0.2 '
52
+ implementation ' androidx.appcompat :appcompat:1 .0.0 '
53
53
54
54
// You need to build grpc-java to obtain these libraries below.
55
55
implementation ' io.grpc:grpc-okhttp:1.58.0-SNAPSHOT' // CURRENT_GRPC_VERSION
Original file line number Diff line number Diff line change 20
20
import android .content .Context ;
21
21
import android .os .AsyncTask ;
22
22
import android .os .Bundle ;
23
- import android . support . v7 .app .AppCompatActivity ;
23
+ import androidx . appcompat .app .AppCompatActivity ;
24
24
import android .text .TextUtils ;
25
25
import android .text .method .ScrollingMovementMethod ;
26
26
import android .view .View ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ buildscript {
6
6
mavenCentral()
7
7
}
8
8
dependencies {
9
- classpath ' com.android.tools.build:gradle:4.2 .0'
9
+ classpath ' com.android.tools.build:gradle:7.4 .0'
10
10
classpath " com.google.protobuf:protobuf-gradle-plugin:0.9.4"
11
11
12
12
// NOTE: Do not place your application dependencies here; they belong
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ protobuf {
49
49
}
50
50
51
51
dependencies {
52
- implementation ' com.android.support :appcompat-v7:27 .0.2 '
52
+ implementation ' androidx.appcompat :appcompat:1 .0.0 '
53
53
54
54
// You need to build grpc-java to obtain these libraries below.
55
55
implementation ' io.grpc:grpc-okhttp:1.58.0-SNAPSHOT' // CURRENT_GRPC_VERSION
Original file line number Diff line number Diff line change 19
19
import android .content .Context ;
20
20
import android .os .AsyncTask ;
21
21
import android .os .Bundle ;
22
- import android . support . v7 .app .AppCompatActivity ;
22
+ import androidx . appcompat .app .AppCompatActivity ;
23
23
import android .text .TextUtils ;
24
24
import android .text .method .ScrollingMovementMethod ;
25
25
import android .view .View ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ buildscript {
6
6
mavenCentral()
7
7
}
8
8
dependencies {
9
- classpath ' com.android.tools.build:gradle:4.2 .0'
9
+ classpath ' com.android.tools.build:gradle:7.4 .0'
10
10
classpath " com.google.protobuf:protobuf-gradle-plugin:0.9.4"
11
11
12
12
// NOTE: Do not place your application dependencies here; they belong
You can’t perform that action at this time.
0 commit comments