Closes #36: Configure dependency versions in root project.

Sebastian Kaspari 6 years ago
parent 5f0ea12d61
commit 7830ac9473

@ -33,17 +33,14 @@ android {
}
dependencies {
implementation 'io.sentry:sentry-android:1.7.3'
implementation "io.sentry:sentry-android:${rootProject.ext.dependencies['sentry']}"
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
implementation "com.android.support:appcompat-v7:${rootProject.ext.dependencies['supportLibraries']}"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${rootProject.ext.dependencies['kotlin']}"
implementation "com.android.support.constraint:constraint-layout:${rootProject.ext.dependencies['constraintLayout']}"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
testImplementation "junit:junit:${rootProject.ext.dependencies['junit']}"
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
}
// -------------------------------------------------------------------------------------------------

@ -3,7 +3,13 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
buildscript {
ext.kotlin_version = '1.2.30'
ext.dependencies = [
kotlin: '1.2.30',
sentry: '1.7.3',
supportLibraries: '27.1.1',
junit: '4.12',
constraintLayout: '1.1.0'
]
ext.build = [
compileSdkVersion: 27,
@ -18,7 +24,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.1.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${project.ext.dependencies['kotlin']}"
}
}

Loading…
Cancel
Save