Skip to main content

Kotlin

These libraries are designed for use with Kotlin and are suitable for developing Android mobile applications.

The library name corresponds to the name of the service.

It is important to verify the version of the service you are accessing and to install a compatible version of the library.

Integration​

The base URL for the Maven repository (for use with build systems) is: https://public.nora.veeroute.ru/maven2/

No authorization is required to access public artifacts. ### Gradle — Kotlin DSL

In settings.gradle.kts:

dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven("https://public.nora.veeroute.ru/maven2/")
}
}

Dependency in the module:

dependencies {
implementation("com.veeroute.lss.kotlin:monitor:7.49.3654")
}

You should also set a repository constraint; this prevents Gradle from finding an older version of the same artifact in a different repository:

exclusiveContent {
forRepository {
maven("https://public.nora.veeroute.ru/maven2/")
}
filter {
includeGroup("com.veeroute.lss.kotlin")
}
}

Gradle — Groovy DSL​

repositories {
google()
mavenCentral()
maven {
url = uri("https://public.nora.veeroute.ru/maven2/")
}
}

Maven​

In pom.xml:

<repositories>
<repository>
<id>veeroute-nora</id>
<url>https://public.nora.veeroute.ru/maven2/</url>
</repository>
</repositories>

Dependency:

<dependency>
<groupId>com.veeroute.lss.kotlin</groupId>
<artifactId>monitor</artifactId>
<version>7.49.3654</version>
</dependency>

Archived Versions​

Archived versions of the libraries can be found in Maven Central.