/bouncy-castle-graalvm

GraalVM feature to contribute BouncyCastle into native image

Primary LanguageKotlin

Bouncy Castle GraalVM Feature

GraalVM feature to contribute BouncyCastle into native image by registering it as a Security Provider.
Just include it into your project, the Feature is auto registered and includes the proper runtime hints to initialize most of the algorithms at build time.

Use

Gradle
repositories {
    maven { url 'https://jitpack.io' }
}


dependencies {
    implementation 'com.github.cmdjulian:bouncy-castle-graalvm:{VERSION}'
}
Gradle Kts
repositories {
    maven(url = "https://jitpack.io")
}


dependencies {
    implementation("com.github.cmdjulian:bouncy-castle-graalvm:{VERSION}")
}
Maven
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

    ...

    <repositories>
        <repository>
            <id>jitpack.io</id>
            <url>https://jitpack.io</url>
        </repository>
    </repositories>

    ...

    <dependencies>
        <dependency>
            <groupId>com.github.cmdjulian</groupId>
            <artifactId>bouncy-castle-graalvm</artifactId>
            <version>{VERSION}</version>
        </dependency>
    </dependencies>
</project>