Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
ed0f72dc
Commit
ed0f72dc
authored
Aug 01, 2017
by
Filipe de Lima Brito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add tests dependencies and Kotlin tests directories
parent
a891e28b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
build.gradle
app/build.gradle
+14
-1
No files found.
app/build.gradle
View file @
ed0f72dc
...
@@ -31,6 +31,7 @@ buildscript {
...
@@ -31,6 +31,7 @@ buildscript {
android
{
android
{
compileSdkVersion
rootProject
.
ext
.
compileSdkVersion
compileSdkVersion
rootProject
.
ext
.
compileSdkVersion
buildToolsVersion
rootProject
.
ext
.
buildToolsVersion
buildToolsVersion
rootProject
.
ext
.
buildToolsVersion
defaultConfig
{
defaultConfig
{
applicationId
"chat.rocket.android"
applicationId
"chat.rocket.android"
minSdkVersion
16
minSdkVersion
16
...
@@ -38,10 +39,10 @@ android {
...
@@ -38,10 +39,10 @@ android {
versionCode
28
versionCode
28
versionName
"1.0.16"
versionName
"1.0.16"
testInstrumentationRunner
"android.support.test.runner.AndroidJUnitRunner"
testInstrumentationRunner
"android.support.test.runner.AndroidJUnitRunner"
vectorDrawables
.
useSupportLibrary
=
true
vectorDrawables
.
useSupportLibrary
=
true
multiDexEnabled
true
multiDexEnabled
true
}
}
signingConfigs
{
signingConfigs
{
release
{
release
{
storeFile
project
.
rootProject
.
file
(
'Rocket.jks'
).
getCanonicalFile
()
storeFile
project
.
rootProject
.
file
(
'Rocket.jks'
).
getCanonicalFile
()
...
@@ -50,6 +51,7 @@ android {
...
@@ -50,6 +51,7 @@ android {
keyPassword
System
.
getenv
(
"KEY_PASSWORD"
)
keyPassword
System
.
getenv
(
"KEY_PASSWORD"
)
}
}
}
}
buildTypes
{
buildTypes
{
release
{
release
{
minifyEnabled
false
minifyEnabled
false
...
@@ -57,20 +59,29 @@ android {
...
@@ -57,20 +59,29 @@ android {
signingConfig
signingConfigs
.
release
signingConfig
signingConfigs
.
release
}
}
}
}
sourceSets
{
test
.
java
.
srcDirs
+=
'src/test/kotlin'
androidTest
.
java
.
srcDirs
+=
'src/androidTest/kotlin'
}
packagingOptions
{
packagingOptions
{
exclude
'META-INF/LICENSE.txt'
exclude
'META-INF/LICENSE.txt'
exclude
'META-INF/NOTICE.txt'
exclude
'META-INF/NOTICE.txt'
exclude
'META-INF/rxjava.properties'
exclude
'META-INF/rxjava.properties'
}
}
compileOptions
{
compileOptions
{
sourceCompatibility
JavaVersion
.
VERSION_1_8
sourceCompatibility
JavaVersion
.
VERSION_1_8
targetCompatibility
JavaVersion
.
VERSION_1_8
targetCompatibility
JavaVersion
.
VERSION_1_8
}
}
lintOptions
{
lintOptions
{
//avoiding okio error: https://github.com/square/okhttp/issues/896
//avoiding okio error: https://github.com/square/okhttp/issues/896
lintConfig
file
(
"lint.xml"
)
lintConfig
file
(
"lint.xml"
)
}
}
}
}
play
{
play
{
jsonFile
=
file
(
'rocket-chat.json'
)
jsonFile
=
file
(
'rocket-chat.json'
)
track
=
"${track}"
track
=
"${track}"
...
@@ -99,6 +110,8 @@ dependencies {
...
@@ -99,6 +110,8 @@ dependencies {
compile
'com.android.support:multidex:1.0.1'
compile
'com.android.support:multidex:1.0.1'
compile
"org.jetbrains.kotlin:kotlin-stdlib-jre7:$rootProject.ext.kotlinVersion"
compile
"org.jetbrains.kotlin:kotlin-stdlib-jre7:$rootProject.ext.kotlinVersion"
testCompile
"org.jetbrains.kotlin:kotlin-test:$rootProject.ext.kotlinVersion"
testCompile
"org.jetbrains.kotlin:kotlin-test-junit:$rootProject.ext.kotlinVersion"
compile
"com.google.firebase:firebase-core:$playLibVersion"
compile
"com.google.firebase:firebase-core:$playLibVersion"
compile
"com.google.firebase:firebase-crash:$playLibVersion"
compile
"com.google.firebase:firebase-crash:$playLibVersion"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment