Skip to content
This repository was archived by the owner on May 25, 2022. It is now read-only.

Dependencies (Gradle)

Jakob K edited this page Jan 14, 2021 · 4 revisions

Add dependency

Add the following repository:

repositories {
    jcenter()
}

Now add the dependencies you need:

dependencies {
    // you will always need the following dependency:
    implementation("net.axay:simplekotlinmail-core:VERSIONHERE")

    // if you want to send emails:
    implementation("net.axay:simplekotlinmail-client:VERSIONHERE")
    // if you want to receive emails:
    implementation("net.axay:simplekotlinmail-server:VERSIONHERE")
    // if you want to use kotlinx.html inside of your email builders:
    implementation("net.axay:simplekotlinmail-html:VERSIONHERE")
}

Some dependencies of SimpleKotlinMail depend on slf4j, so you should include a logger like slf4j-simple.

Clone this wiki locally