mirror of
https://github.com/gsantner/dandelion
synced 2024-11-24 13:22:08 +01:00
Update build.gradle
This commit is contained in:
parent
39b45a03d0
commit
caa7f8c59d
2 changed files with 73 additions and 42 deletions
107
.gitignore
vendored
107
.gitignore
vendored
|
@ -1,48 +1,83 @@
|
||||||
*~
|
##############
|
||||||
|
### Project ##
|
||||||
# Project specific
|
|
||||||
app/src/main/res/raw/changelog.md
|
app/src/main/res/raw/changelog.md
|
||||||
app/src/main/res/raw/contributors.md
|
app/src/main/res/raw/contributors.md
|
||||||
app/src/main/res/raw/license.md
|
app/src/main/res/raw/license.md
|
||||||
app/src/main/res/raw/readme.md
|
app/src/main/res/raw/readme.md
|
||||||
app/src/main/res/raw/contributors.txt
|
app/src/main/res/raw/contributors.txt
|
||||||
|
|
||||||
|
##############
|
||||||
|
### Common ###
|
||||||
|
*~*
|
||||||
|
tmp/
|
||||||
|
*.tmp
|
||||||
|
*.bak
|
||||||
|
*.log
|
||||||
|
|
||||||
|
################
|
||||||
|
### Intellij ###
|
||||||
|
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio
|
||||||
|
*.iml
|
||||||
|
/out/
|
||||||
|
|
||||||
# Gradle
|
.idea/
|
||||||
.gradle/
|
# if you remove the above rule, at least ignore the following:
|
||||||
|
## User-specific stuff:
|
||||||
|
# .idea/workspace.xml
|
||||||
|
# .idea/tasks.xml
|
||||||
|
# .idea/dictionaries
|
||||||
|
## Sensitive or high-churn files:
|
||||||
|
# .idea/dataSources.ids
|
||||||
|
# .idea/dataSources.xml
|
||||||
|
# .idea/sqlDataSources.xml
|
||||||
|
# .idea/dynamic.xml
|
||||||
|
# .idea/uiDesigner.xml
|
||||||
|
|
||||||
|
# Gradle:
|
||||||
|
# .idea/gradle.xml
|
||||||
|
# .idea/libraries
|
||||||
|
|
||||||
|
## File-based project format:
|
||||||
|
*.ipr
|
||||||
|
*.iws
|
||||||
|
|
||||||
|
### Gradle ###
|
||||||
.gradle
|
.gradle
|
||||||
build/
|
build/
|
||||||
/*/build/
|
gradle-app.setting
|
||||||
|
|
||||||
# User-specific configurations
|
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
|
||||||
local.properties
|
!gradle-wrapper.jar
|
||||||
crowdin.yaml
|
|
||||||
|
|
||||||
.idea
|
###############
|
||||||
.idea/libraries/
|
### Eclipse ###
|
||||||
.idea/runConfigurations.xml
|
#.project
|
||||||
.idea/gradle.xml
|
*.pydevproject
|
||||||
.idea/workspace.xml
|
.metadata
|
||||||
.idea/tasks.xml
|
*.swp
|
||||||
.idea/.name
|
*~.nib
|
||||||
.idea/compiler.xml
|
.settings/
|
||||||
.idea/copyright/profiles_settings.xml
|
.loadpath
|
||||||
.idea/encodings.xml
|
.externalToolBuilders/
|
||||||
.idea/misc.xml
|
*.launch
|
||||||
.idea/modules.xml
|
.cproject
|
||||||
.idea/scopes/scope_settings.xml
|
.classpath
|
||||||
.idea/vcs.xml
|
.factorypath
|
||||||
*.iml
|
.buildpath
|
||||||
|
.target
|
||||||
|
.texlipse
|
||||||
|
|
||||||
# OS-specific files
|
############
|
||||||
.DS_Store
|
### Java ###
|
||||||
.DS_Store?
|
*.class
|
||||||
._*
|
.mtj.tmp/
|
||||||
.Trashes
|
*.jar
|
||||||
ehthumbs.db
|
*.war
|
||||||
Thumbs.db
|
*.ear
|
||||||
|
hs_err_pid*
|
||||||
|
|
||||||
|
###############
|
||||||
|
### Android ###
|
||||||
# Built application files
|
# Built application files
|
||||||
*.apk
|
*.apk
|
||||||
*.ap_
|
*.ap_
|
||||||
|
@ -50,14 +85,16 @@ Thumbs.db
|
||||||
# Files for the Dalvik VM
|
# Files for the Dalvik VM
|
||||||
*.dex
|
*.dex
|
||||||
|
|
||||||
# Java class files
|
|
||||||
*.class
|
|
||||||
|
|
||||||
# Generated files
|
# Generated files
|
||||||
bin/
|
bin/
|
||||||
gen/
|
gen/
|
||||||
|
|
||||||
|
# Local configuration file (sdk path, etc)
|
||||||
local.properties
|
local.properties
|
||||||
|
|
||||||
|
# Proguard
|
||||||
proguard/
|
proguard/
|
||||||
*.log
|
|
||||||
|
# Android Studio Stuff
|
||||||
.navigation/
|
.navigation/
|
||||||
|
gen-external-apklibs
|
||||||
|
|
|
@ -11,6 +11,7 @@ android {
|
||||||
targetSdkVersion 24
|
targetSdkVersion 24
|
||||||
versionCode 8
|
versionCode 8
|
||||||
versionName "0.1.6-next"
|
versionName "0.1.6-next"
|
||||||
|
setProperty("archivesBaseName", "diasporaAndroid__${versionName}__")
|
||||||
|
|
||||||
vectorDrawables.useSupportLibrary=true
|
vectorDrawables.useSupportLibrary=true
|
||||||
}
|
}
|
||||||
|
@ -24,13 +25,6 @@ android {
|
||||||
lintOptions {
|
lintOptions {
|
||||||
disable 'MissingTranslation'
|
disable 'MissingTranslation'
|
||||||
}
|
}
|
||||||
|
|
||||||
applicationVariants.all { variant ->
|
|
||||||
variant.outputs.each { output ->
|
|
||||||
output.outputFile = new File(
|
|
||||||
output.outputFile.parent, "diasporaAndroid__${variant.versionName}__.apk")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
|
Loading…
Reference in a new issue