This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:latest | |
RUN apt update && apt upgrade -y && apt install openjdk-11-jdk wget unzip git -y && apt clean | |
ENV ANDROID_HOME /opt/android | |
ENV PATH ${PATH}:${ANDROID_HOME}/cmdline-tools/latest/bin:${ANDROID_HOME}/platform-tools | |
RUN mkdir $ANDROID_HOME | |
RUN wget https://dl.google.com/android/repository/commandlinetools-linux-8512546_latest.zip -qO android-sdk.zip \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) 2014. Victor Kosenko (http://qip-blog.eu.org) | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
compileSdkVersion 18 | |
buildToolsVersion "18.1.0" | |
defaultConfig { | |
minSdkVersion 12 | |
targetSdkVersion 18 | |
} | |
sourceSets { |