one version code for all gradle files
This commit is contained in:
parent
f0ab35699c
commit
97a8757ecc
5 changed files with 10 additions and 6 deletions
|
@ -46,10 +46,10 @@ A full documentation on how to set this up is available at
|
||||||
|
|
||||||
### Build and Install
|
### Build and Install
|
||||||
|
|
||||||
To compile BRouter (including the BRouter Android app), add a file 'local.properties' to main folder with your Android path (Windows sample)
|
To compile BRouter including the BRouter Android app, add a file 'local.properties' to main folder with your Android path
|
||||||
|
|
||||||
```
|
```
|
||||||
sdk.dir=D\:\\Android\\android-sdk
|
sdk.dir=<your/android/sdk/path>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@ plugins {
|
||||||
id 'application'
|
id 'application'
|
||||||
}
|
}
|
||||||
|
|
||||||
version = '1.6.1'
|
|
||||||
|
|
||||||
application {
|
application {
|
||||||
// Gradles 'application' plugin requires one main class; since we have multiple ones, just specify
|
// Gradles 'application' plugin requires one main class; since we have multiple ones, just specify
|
||||||
|
|
|
@ -11,7 +11,7 @@ android {
|
||||||
targetSdkVersion 30
|
targetSdkVersion 30
|
||||||
|
|
||||||
versionCode 41
|
versionCode 41
|
||||||
versionName "1.6.1"
|
versionName version
|
||||||
|
|
||||||
setProperty("archivesBaseName","BRouterApp." + defaultConfig.versionName)
|
setProperty("archivesBaseName","BRouterApp." + defaultConfig.versionName)
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@ plugins {
|
||||||
id 'application'
|
id 'application'
|
||||||
}
|
}
|
||||||
|
|
||||||
version = '1.6.1'
|
|
||||||
|
|
||||||
application {
|
application {
|
||||||
mainClass.set('btools.server.BRouter')
|
mainClass.set('btools.server.BRouter')
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
google()
|
google()
|
||||||
|
@ -16,6 +20,8 @@ buildscript {
|
||||||
}
|
}
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
|
version "1.6.1"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
google()
|
google()
|
||||||
|
|
Loading…
Reference in a new issue