https://github.com/msrd0/docker-gradle-android
https://github.com/msrd0/docker-gradle-android
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/msrd0/docker-gradle-android
- Owner: msrd0
- License: gpl-3.0
- Created: 2017-06-18T16:21:37.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-19T15:01:10.000Z (almost 8 years ago)
- Last Synced: 2025-02-13T08:30:10.619Z (4 months ago)
- Size: 153 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-gradle-android
Corresponding docker image: [msrd0/gradle-android](https://hub.docker.com/r/msrd0/gradle-android/)
The docker images is based on [`debian:stretch`](https://hub.docker.com/_/debian/) and contains (state 2017/06/19):
Software | Version
----------|--------
JDK | 1.8.0_131
Gradle | 3.2.1
Maven | 3.3.9Android Component | Version
------------------|--------
Android SDK | 25.0.0
Android SDK Platform | 23
Android Build-Tools | 24.0.0
Android Support Repository | r47 (23.4.0)
Android Support Constraint Library | 1.0.2
Android Gradle Plugin | 2.2.2Please note that lint is not working at the moment! This is not my fault but a problem with debian's android packages.
## Recommended Gradle Configuration
### Buildscript
```gradle
buildscript {
repositories {
mavenLocal()
jcenter()
}
dependencies {
// version 2.2.2 is in local maven repo -> quicker builds
classpath 'com.android.tools.build:gradle:2.2.2'
}
}
```### Subproject
```gradle
repositories {
mavenLocal()
jcenter()
}apply plugin: 'com.android.application'
android {
// don't change those versions:
compileSdkVersion 23
buildToolsVersion "24.0.0"
defaultConfig {
targetSdkVersion 23
}
lintOptions {
abortOnError false
}
}dependencies {
// don't change those versions:
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:support-v4:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
}
```