Search Gradle plugins

io.github.robhogan.noderesolver

A Gradle Plugin for correctly resolving node_modules paths from your settings.gradle

https://reactnative.dev

Sources: https://github.com/facebook/react-native

Version 0.2.0-alpha-0

Created 21 January 2024.

A Gradle Plugin for correctly resolving node_modules paths from your settings.gradle

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.robhogan.noderesolver") version "0.2.0-alpha-0"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("io.github.robhogan.noderesolver:io.github.robhogan.noderesolver.gradle.plugin:0.2.0-alpha-0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.github.robhogan.noderesolver")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.github.robhogan.noderesolver:io.github.robhogan.noderesolver.gradle.plugin:0.2.0-alpha-0")
      }
    }
    
    apply(plugin = "io.github.robhogan.noderesolver")
  • Applying plugins to all subprojects .