import java.io.File pluginManagement { repositories { google() mavenCentral() gradlePluginPortal() } } dependencyResolutionManagement { repositories { google() mavenCentral() // Xposed API (provided by the framework at runtime). maven(url = "https://api.xposed.info/") // The Revenge plugin API, published locally from the revenge-xposed repo via // `./gradlew :api:publishToMavenLocal`. mavenLocal() } } rootProject.name = "revenge-plugin-template" // Each `plugins//` folder with Kotlin sources (`src/main`) is a native plugin module. // Plugins without `src/main` are JS-only and are packaged without a Gradle project. file("plugins").listFiles() ?.filter { it.isDirectory && File(it, "src/main").isDirectory } ?.sortedBy { it.name } ?.forEach { dir -> include(":plugins:${dir.name}") }