mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
require explicit android java version, bump android gradle version
This commit is contained in:
parent
5ca0a40d66
commit
044fb28bf8
2 changed files with 11 additions and 3 deletions
|
@ -6,6 +6,8 @@ It is the goal of this repository to stay agnostic to build environments or tool
|
|||
|
||||
## How to Build from the Command Line with Ant
|
||||
|
||||
**TODO: this section may be out of date, as GOOG no longer support ant builds**
|
||||
|
||||
*an abridged version of the official guide found [here](https://developer.android.com/tools/building/building-cmdline.html)*
|
||||
|
||||
*this type of build will use the vendored dependencies in `clients/android/NewsBlur/libs`*
|
||||
|
@ -21,11 +23,14 @@ It is the goal of this repository to stay agnostic to build environments or tool
|
|||
|
||||
*this type of build will pull dependencies as prescribed in the gradle configuration*
|
||||
|
||||
1. install gradle v2.8 or better
|
||||
1. install gradle v3.3 or better
|
||||
2. ensure that all Android license agreements have been accepted via `$ANDROID_HOME/tools/bin/sdkmanager tools` or similar
|
||||
2. build a test APK with `gradle build` (.apk will be in `/build/outputs/apk/` under the working directory)
|
||||
|
||||
## How to Build from Android Studio
|
||||
|
||||
**TODO: this section may be out of date, as GOOG regularly update the Android Studio UI**
|
||||
|
||||
*this type of build will pull dependencies as prescribed in the gradle configuration*
|
||||
|
||||
1. install and fully update [Android Studio](http://developer.android.com/tools/studio/index.html)
|
||||
|
|
|
@ -4,7 +4,7 @@ buildscript {
|
|||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:2.2.2'
|
||||
classpath 'com.android.tools.build:gradle:2.3.0'
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,10 @@ dependencies {
|
|||
|
||||
android {
|
||||
compileSdkVersion 23
|
||||
buildToolsVersion '23.0.2'
|
||||
buildToolsVersion '25.0.0'
|
||||
compileOptions.with {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_7
|
||||
}
|
||||
sourceSets {
|
||||
main {
|
||||
manifest.srcFile 'AndroidManifest.xml'
|
||||
|
|
Loading…
Add table
Reference in a new issue