Nokee Release Notes
The Nokee team is pleased to announce an important milestone in native development with Gradle.
This release focuses on adding plugins for building applications and libraries in C, C++, Objective-C, Objective-C++, and Swift. The experimental iOS application building plugin implemented in Swift joins the Nokee plugin family. The Xcode IDE plugin supports all the new native plugins. Additional conveniences made its way into the Java Native Interface (JNI) Library plugin. Finally, the first version of the Gradle Toolbox plugins became available, allowing Nokee to develop high-quality Gradle plugins.
Read the announcement blog to learn more about the changes around the configuration model of Nokee.
Getting Started
To use the Nokee plugins in Gradle, copy the following code to the settings script of your project, then apply any of the Nokee plugins to your build using the plugins DSL block:
pluginManagement {
repositories {
gradlePluginPortal()
maven { url = uri('https://repo.nokee.dev/release') }
maven { url = uri('https://repo.nokee.dev/snapshot') }
}
def nokeeVersion = '0.5.0-930919a0'
resolutionStrategy {
eachPlugin {
if (requested.id.id.startsWith('dev.nokee.')) {
useModule("${requested.id.id}:${requested.id.id}.gradle.plugin:${nokeeVersion}")
}
}
}
}
pluginManagement {
repositories {
gradlePluginPortal()
maven { url = uri("https://repo.nokee.dev/release") }
maven { url = uri("https://repo.nokee.dev/snapshot") }
}
val nokeeVersion = "0.5.0-930919a0"
resolutionStrategy {
eachPlugin {
if (requested.id.id.startsWith("dev.nokee.")) {
useModule("${requested.id.id}:${requested.id.id}.gradle.plugin:${nokeeVersion}")
}
}
}
}
Reporting Problems
If you find a problem with any of the plugins, please open an issue on GitHub. If you’re not sure you’re encountering a bug, please use the Gradle user forum or the Gradle Community Slack.