WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 5f3635d

Browse files
authored
Merge pull request #11 from csmith/coroutines
Android: add coroutines dependency
2 parents 3063e6a + 14f9846 commit 5f3635d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

buildSrc/src/main/kotlin/Dependencies.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ object DependenciesVersions {
44
const val jUnit = "4.12"
55
const val nexusPublishGradlePlugin = "1.1.0"
66
const val jna = "5.13.0"
7+
const val coroutines = "1.7.1"
78
}
89

910
/**
1011
* To define dependencies
1112
*/
1213
object Dependencies {
14+
const val coroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-core:${DependenciesVersions.coroutines}"
1315
const val junit = "junit:junit:${DependenciesVersions.jUnit}"
1416
const val jna = "net.java.dev.jna:jna:${DependenciesVersions.jna}@aar"
15-
}
17+
}

sdk/sdk-android/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,6 @@ android {
4545

4646
dependencies {
4747
implementation Dependencies.jna
48+
implementation Dependencies.coroutines
4849
testImplementation Dependencies.junit
4950
}

0 commit comments

Comments
 (0)