mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-22 20:31:16 +00:00
Use hardcoded version names for gradle dependencies.
Also added notes in Readme on how to update dependencies and submodules.
This commit is contained in:
parent
d81af707ec
commit
19d3399288
2 changed files with 9 additions and 3 deletions
|
@ -26,6 +26,8 @@ The build process follows three phases:
|
|||
- The Syncthing native libraries are compiled for the different architectures using `gradlew buildNative`.
|
||||
- The final APK is built using the `gradlew assembleDebug` task.
|
||||
|
||||
To check for updated gradle dependencies, run `gradle dependencyUpdates`. Additionally, the git modules in `ext/syncthing/src/github.com/syncthing/syncthing` and `libraries/android-support-v4-preferencefragment` may need to be updated.
|
||||
|
||||
|
||||
## Getting Syncthing without building natively
|
||||
|
||||
|
|
10
build.gradle
10
build.gradle
|
@ -1,11 +1,14 @@
|
|||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:0.12.+'
|
||||
classpath 'com.alexvasilkov:android_sign:0.2+'
|
||||
classpath 'com.android.tools.build:gradle:0.12.2'
|
||||
classpath 'com.alexvasilkov:android_sign:0.2'
|
||||
classpath 'com.github.ben-manes:gradle-versions-plugin:0.5-beta-6'
|
||||
classpath 'org.codehaus.groovy:groovy-backports-compat23:2.3.5'
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -13,13 +16,14 @@ import java.util.regex.Pattern
|
|||
|
||||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'android_sign'
|
||||
apply plugin: 'com.github.ben-manes.versions'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile 'com.android.support:appcompat-v7:19.1.+'
|
||||
compile 'com.android.support:appcompat-v7:19.1.0'
|
||||
androidTestCompile 'com.squareup.okhttp:mockwebserver:2.0.0'
|
||||
compile project(':android-support-v4-preferencefragment')
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue