How to add a dependency to Maven
Add the following dev.forst : ktor-content-security-policy maven dependency to the pom.xml
file with your favorite IDE (IntelliJ / Eclipse / Netbeans):
<dependency>
<groupId>dev.forst</groupId>
<artifactId>ktor-content-security-policy</artifactId>
<version>2.2.4</version>
</dependency>
How to add a dependency to Gradle
Gradle Groovy DSL: Add the following dev.forst : ktor-content-security-policy gradle dependency to your build.gradle
file:
implementation 'dev.forst:ktor-content-security-policy:2.2.4'
Gradle Kotlin DSL: Add the following dev.forst : ktor-content-security-policy gradle kotlin dependency to your build.gradle.kts
file:
implementation("dev.forst:ktor-content-security-policy:2.2.4")
How to add a dependency to SBT Scala
SBT Scala: Add the following dev.forst : ktor-content-security-policy sbt scala dependency to your build.sbt
file:
libraryDependencies += "dev.forst" % "ktor-content-security-policy" % "2.2.4"