Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
LifeLogger
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
PLN
LifeLogger
Commits
df453a19
Unverified
Commit
df453a19
authored
6 years ago
by
PLN (Algolia)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: Use gradle variables
parent
37a573e5
master
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
10 deletions
+16
-10
build.gradle
app/build.gradle
+14
-8
build.gradle
build.gradle
+2
-2
No files found.
app/build.gradle
View file @
df453a19
...
@@ -39,10 +39,15 @@ android {
...
@@ -39,10 +39,15 @@ android {
}
}
}
}
ext
{
roomVersion
=
'1.1.1'
archLifecycleVersion
=
'1.1.1'
}
dependencies
{
dependencies
{
// region Kotlin
// region Kotlin
implementation
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin
_v
ersion"
implementation
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin
V
ersion"
kapt
"android.arch.lifecycle:compiler:
1.1.1
"
kapt
"android.arch.lifecycle:compiler:
$archLifecycleVersion
"
// endregion
// endregion
// region Support Library
// region Support Library
...
@@ -52,17 +57,18 @@ dependencies {
...
@@ -52,17 +57,18 @@ dependencies {
// endregion
// endregion
// region ViewModel and LiveData
// region ViewModel and LiveData
implementation
"android.arch.lifecycle:extensions:1.1.1"
implementation
"android.arch.lifecycle:extensions:$archLifecycleVersion"
kapt
"android.arch.lifecycle:compiler:$archLifecycleVersion"
// alternatively, just ViewModel
// alternatively, just ViewModel
//implementation "android.arch.lifecycle:viewmodel:
1.1.0
"
//implementation "android.arch.lifecycle:viewmodel:
$archLifecycleVersion
"
// alternatively, just LiveData
// alternatively, just LiveData
//implementation "android.arch.lifecycle:livedata:
1.1.0
"
//implementation "android.arch.lifecycle:livedata:
$archLifecycleVersion
"
// endregion
// endregion
// region Jetpack / Developer Experience
// region Jetpack / Developer Experience
// Room
// Room
implementation
"android.arch.persistence.room:runtime:
1.1.1
"
implementation
"android.arch.persistence.room:runtime:
$roomVersion
"
kapt
"android.arch.persistence.room:compiler:
1.1.1
"
kapt
"android.arch.persistence.room:compiler:
$roomVersion
"
// Paging
// Paging
implementation
"android.arch.paging:runtime:1.0.1"
implementation
"android.arch.paging:runtime:1.0.1"
...
@@ -79,6 +85,6 @@ dependencies {
...
@@ -79,6 +85,6 @@ dependencies {
testImplementation
"android.arch.core:core-testing:1.1.1"
testImplementation
"android.arch.core:core-testing:1.1.1"
// Test helpers for Room
// Test helpers for Room
testImplementation
"android.arch.persistence.room:testing:
1.1.1
"
testImplementation
"android.arch.persistence.room:testing:
$roomVersion
"
// endregion
// endregion
}
}
This diff is collapsed.
Click to expand it.
build.gradle
View file @
df453a19
...
@@ -18,14 +18,14 @@
...
@@ -18,14 +18,14 @@
// 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
{
ext
.
kotlin
_v
ersion
=
'1.3.0'
ext
.
kotlin
V
ersion
=
'1.3.0'
repositories
{
repositories
{
google
()
google
()
jcenter
()
jcenter
()
}
}
dependencies
{
dependencies
{
classpath
'com.android.tools.build:gradle:3.3.1'
classpath
'com.android.tools.build:gradle:3.3.1'
classpath
"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin
_v
ersion"
classpath
"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin
V
ersion"
// NOTE: Do not place your application dependencies here; they belong
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
// in the individual module build.gradle files
...
...
This diff is collapsed.
Click to expand it.
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