File tree Expand file tree Collapse file tree 5 files changed +42
-1
lines changed
health-metrics/apk-size/app Expand file tree Collapse file tree 5 files changed +42
-1
lines changed Original file line number Diff line number Diff line change 61
61
run : |
62
62
git clone https://github.com/google-gemini/generative-ai-android.git
63
63
cd generative-ai-android
64
- ./gradlew :common:updateVersion common:publishToMavenLocal
64
+ ./gradlew :common:updateVersion
65
+ ./gradlew :common:publishToMavenLocal
65
66
cd ..
66
67
67
68
- name : Clone mock responses
@@ -133,6 +134,15 @@ jobs:
133
134
distribution : temurin
134
135
cache : gradle
135
136
137
+ - name : Pull genai-common
138
+ if : matrix.module == ':firebase-vertexai'
139
+ run : |
140
+ git clone https://github.com/google-gemini/generative-ai-android.git
141
+ cd generative-ai-android
142
+ ./gradlew :common:updateversion
143
+ ./gradlew :common:publishToMavenLocal
144
+ cd ..
145
+
136
146
- name : Add google-services.json
137
147
env :
138
148
INTEG_TESTS_GOOGLE_SERVICES : ${{ secrets.INTEG_TESTS_GOOGLE_SERVICES }}
Original file line number Diff line number Diff line change 25
25
distribution : temurin
26
26
cache : gradle
27
27
28
+ - name : Pull genai-common
29
+ run : |
30
+ git clone https://github.com/google-gemini/generative-ai-android.git
31
+ cd generative-ai-android
32
+ ./gradlew :common:updateversion
33
+ ./gradlew :common:publishToMavenLocal
34
+ cd ..
35
+
28
36
- name : Generate docs for PR branch
29
37
run : ./gradlew kotlindoc
30
38
Original file line number Diff line number Diff line change 69
69
java-version : 17
70
70
distribution : temurin
71
71
cache : gradle
72
+ - name : Pull genai-common
73
+ run : |
74
+ git clone https://github.com/google-gemini/generative-ai-android.git
75
+ cd generative-ai-android
76
+ ./gradlew :common:updateversion
77
+ ./gradlew :common:publishToMavenLocal
78
+ cd ..
72
79
- name : Set up Python 3.10
73
80
uses : actions/setup-python@v4
74
81
with :
@@ -105,6 +112,13 @@ jobs:
105
112
java-version : 17
106
113
distribution : temurin
107
114
cache : gradle
115
+ - name : Pull genai-common
116
+ run : |
117
+ git clone https://github.com/google-gemini/generative-ai-android.git
118
+ cd generative-ai-android
119
+ ./gradlew :common:updateversion
120
+ ./gradlew :common:publishToMavenLocal
121
+ cd ..
108
122
- name : Set up Python 3.10
109
123
uses : actions/setup-python@v4
110
124
with :
Original file line number Diff line number Diff line change 22
22
credentials_json : ${{ secrets.GCP_SERVICE_ACCOUNT }}
23
23
- uses : google-github-actions/setup-gcloud@v2
24
24
25
+ - name : Pull genai-common
26
+ run : |
27
+ git clone https://github.com/google-gemini/generative-ai-android.git
28
+ cd generative-ai-android
29
+ ./gradlew :common:updateversion
30
+ ./gradlew :common:publishToMavenLocal
31
+ cd ..
32
+
25
33
# TODO(yifany): make it a fireci plugin and remove the separately distributed jar file
26
34
- name : Download smoke tests runner
27
35
run : |
Original file line number Diff line number Diff line change 14
14
15
15
16
16
repositories {
17
+ mavenLocal()
17
18
maven {
18
19
url ' ../../../build/m2repository/'
19
20
}
You can’t perform that action at this time.
0 commit comments