Skip to content

Dependencies and Integration

Publishing

All the dependencies are published on MavenCentral. Make sure to have it included in your reporitories block in the top level build.gradle file.

repositories {
    mavenCentral()
}

Project Requirements

  • Java 17+ is required;
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_17
        targetCompatibility JavaVersion.VERSION_17
    }
    
  • minSdk 19+ is required.

Dependency

Gradle
dependencies {
    implementation "com.github.cioccarellia:ksprefs:2.4.1"
}
Kotlin DSL
dependencies {
    implementation("com.github.cioccarellia:ksprefs:2.4.1")
}
Maven
<dependency>
    <groupId>com.github.cioccarellia</groupId>
    <artifactId>ksprefs</artifactId>
    <version>2.4.1</version>
    <type>pom</type>
</dependency>