android-application-runtime

gets the more runtime information of the Android device.

License

License

MIT
GroupId

GroupId

io.github.eaglesakura.android-application-runtime
ArtifactId

ArtifactId

android-application-runtime
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

aar
Description

Description

android-application-runtime
gets the more runtime information of the Android device.
Project URL

Project URL

https://github.com/eaglesakura/android-application-runtime
Source Code Management

Source Code Management

https://github.com/eaglesakura/android-application-runtime

Download android-application-runtime

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.eaglesakura.android-application-runtime/android-application-runtime/ -->
<dependency>
    <groupId>io.github.eaglesakura.android-application-runtime</groupId>
    <artifactId>android-application-runtime</artifactId>
    <version>1.0.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/io.github.eaglesakura.android-application-runtime/android-application-runtime/
implementation 'io.github.eaglesakura.android-application-runtime:android-application-runtime:1.0.0'
// https://jarcasting.com/artifacts/io.github.eaglesakura.android-application-runtime/android-application-runtime/
implementation ("io.github.eaglesakura.android-application-runtime:android-application-runtime:1.0.0")
'io.github.eaglesakura.android-application-runtime:android-application-runtime:aar:1.0.0'
<dependency org="io.github.eaglesakura.android-application-runtime" name="android-application-runtime" rev="1.0.0">
  <artifact name="android-application-runtime" type="aar" />
</dependency>
@Grapes(
@Grab(group='io.github.eaglesakura.android-application-runtime', module='android-application-runtime', version='1.0.0')
)
libraryDependencies += "io.github.eaglesakura.android-application-runtime" % "android-application-runtime" % "1.0.0"
[io.github.eaglesakura.android-application-runtime/android-application-runtime "1.0.0"]

Dependencies

compile (5)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib-jdk7 jar 1.4.21
org.jetbrains.kotlin : kotlin-reflect jar 1.4.21
org.jetbrains.kotlinx : kotlinx-coroutines-core jar 1.4.1
org.jetbrains.kotlinx : kotlinx-coroutines-android jar 1.4.1
androidx.annotation » annotation jar 1.1.0

runtime (1)

Group / Artifact Type Version
androidx.core » core-ktx jar 1.3.2

Project Modules

There are no modules declared in this project.

What is this Library?

android-application-runtime gets the runtime information of the Android device.

Example

if(ApplicationRuntime.contains(ApplicationRuntime.RUNTIME_ROBOLECTRIC)) {
    // robolectric only.
}

if(ApplicationRuntime.contains(ApplicationRuntime.RUNTIME_ANDROID_DEVICE)) {
    // Android device only(Instrumentation Test or Application)
}

if(ApplicationRuntime.contains(ApplicationRuntime.RUNTIME_JUNIT)) {
    // Test only.
}

How to Install.

// /app/build.gradle
dependencies {
    implementation 'io.github.eaglesakura.android-application-runtime:android-application-runtime:1.0.0'
}

Versions

Version
1.0.0
1.0.0-rc01