Skip to content

nokeedev/gradle-native

Repository files navigation

Nokee logo

Painless native development with Gradle. Nokee is a suite of high-quality Gradle plugins aimed explicitly at enabling build happiness for all natively compiled language. It allows compilation of languages such C, C++, Objective-C and Objective-C++.

For more information, visit the official project homepage

Revved%20up%20by Develocity 06A0CE?logo=Gradle&labelColor=02303A

Install

Copy the following inside your settings.gradle[.kts]:

settings.gradle[.kts]
pluginManagement {
   repositories {
      gradlePluginPortal()
      maven { url = uri("https://repo.nokee.dev/release") }
      maven { url = uri("https://repo.nokee.dev/snapshot") }
   }
   resolutionStrategy {
      eachPlugin {
         if (requested.id.id.startsWith("dev.nokee.")) {
            useModule("${requested.id.id}:${requested.id.id}.gradle.plugin:0.4.0")
         }
      }
   }
}

Usage

Apply any of the Nokee plugins to your build just like any other Gradle plugin:

build.gradle[.kts]
plugins {
    id("dev.nokee.objective-c-ios-application")
}

Need Help?

Licensed under Apache License 2.0 - https://www.apache.org/licenses/LICENSE-2.0