Moved version values directly into gradle files for F-Droid compatiblity.

This commit is contained in:
Felix Ableitner 2016-02-01 18:45:52 +01:00
parent 37d3ff4377
commit b58bc9d198
3 changed files with 3 additions and 24 deletions

View file

@ -39,8 +39,8 @@ android {
defaultConfig {
applicationId "com.nutomic.ensichat"
targetSdkVersion 23
versionCode project.properties.versionCode.toInteger()
versionName project.properties.versionName
versionCode 10
versionName "0.2.1"
multiDexEnabled true
testInstrumentationRunner "com.android.test.runner.MultiDexTestRunner"
}

View file

@ -1,21 +0,0 @@
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Settings specified in this file will override any Gradle settings
# configured through the IDE.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
versionName=0.2.1
versionCode=10

View file

@ -8,7 +8,7 @@ dependencies {
}
mainClassName = 'com.nutomic.ensichat.server.Main'
version = properties.versionName
version = "0.2.1"
applicationName = 'ensichat-server'
run {