Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-android
Commits
7048cee5
Commit
7048cee5
authored
8 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
build: bump target sdk
Change-Id: I83290ec38c7704e174853244a9d8ddd4d132cad4
parent
d6021c85
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker/Dockerfile
+14
-18
14 additions, 18 deletions
docker/Dockerfile
ring-android/app/build.gradle
+3
-3
3 additions, 3 deletions
ring-android/app/build.gradle
with
17 additions
and
21 deletions
docker/Dockerfile
+
14
−
18
View file @
7048cee5
...
...
@@ -37,33 +37,29 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&&
locale-gen
$LANG
$LC_ALL
&&
update-locale
$LANG
$LC_ALL
ENV
ANDROID_DEPS=platform-tools,\
build-tools-24.0.2,\
android-24,\
extra-android-support,\
extra-android-m2repository,\
extra-google-m2repository
ENV
ANDROID_DEPS='platform-tools build-tools;25.0.2 platforms;android-25 extras;android;m2repository extras;google;m2repository'
# Android Linux SDK
# Android Linux SDK
tools
# See http://developer.android.com/sdk/index.html
RUN
wget
-O
/tmp/android-sdk.tgz http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz
&&
\
tar
-C
/opt/
-zxf
/tmp/android-sdk.tgz
&&
\
rm
-f
/tmp/android-sdk.tgz
&&
\
chown
-R
root:root /opt/android-sdk-linux
RUN
wget
-O
/tmp/android-tools.zip https://dl.google.com/android/repository/tools_r25.2.3-linux.zip
&&
\
mkdir
-p
/opt/android-sdk
&&
\
unzip
-d
/opt/android-sdk /tmp/android-tools.zip
&&
\
rm
-f
/tmp/android-tools.zip
&&
\
chown
-R
root:root /opt/android-sdk
# Android Linux NDK
# See http://developer.android.com/tools/sdk/ndk/index.html
RUN
wget
-O
/tmp/android-ndk.zip http://dl.google.com/android/repository/android-ndk-r1
2
b-linux-x86_64.zip
&&
\
RUN
wget
-O
/tmp/android-ndk.zip http://dl.google.com/android/repository/android-ndk-r1
3
b-linux-x86_64.zip
&&
\
unzip /tmp/android-ndk.zip
-d
/opt/
&&
\
rm
-f
/tmp/android-ndk.zip
&&
\
chown
-R
root:root /opt/android-ndk-r1
2
b
chown
-R
root:root /opt/android-ndk-r1
3
b
# Other tools and resources of Android SDK
ENV
ANDROID_HOME=/opt/android-sdk
-linux
ENV
ANDROID_SDK=/opt/android-sdk
-linux
ENV
ANDROID_NDK=/opt/android-ndk-r1
2
b
ENV
PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
RUN
echo
y | android update sdk
--filt
er
$
{
ANDROID_DEPS
}
--all
--no-ui
--force
ENV
ANDROID_HOME=/opt/android-sdk
ENV
ANDROID_SDK=/opt/android-sdk
ENV
ANDROID_NDK=/opt/android-ndk-r1
3
b
ENV
PATH=${PATH}:${ANDROID_HOME}/tools
/bin
:${ANDROID_HOME}/platform-tools
RUN
(
while
sleep
1
;
do
echo
"y"
;
done
)
| sdkmanag
er
$ANDROID_DEPS
WORKDIR
/home/builder/src
VOLUME
/home/builder/src
This diff is collapsed.
Click to expand it.
ring-android/app/build.gradle
+
3
−
3
View file @
7048cee5
...
...
@@ -43,12 +43,12 @@ dependencies {
}
android
{
compileSdkVersion
2
4
buildToolsVersion
"2
4
.0.2"
compileSdkVersion
2
5
buildToolsVersion
"2
5
.0.2"
defaultConfig
{
minSdkVersion
16
targetSdkVersion
2
4
targetSdkVersion
2
5
}
sourceSets
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment