plugins { kotlin("jvm") version "1.9.0" `maven-publish` alias(libs.plugins.ksp) } group = "app.revanced" dependencies { implementation(libs.symbol.processing.api) implementation(libs.kotlinpoet.ksp) implementation(project(":revanced-patcher")) testImplementation(libs.kotlin.test) testImplementation(libs.kotlin.compile.testing) } tasks { test { useJUnitPlatform() testLogging { events("PASSED", "SKIPPED", "FAILED") } } } kotlin { jvmToolchain(11) } java { withSourcesJar() } publishing { repositories { mavenLocal() maven { name = "GitHubPackages" url = uri("https://maven.pkg.github.com/revanced/revanced-patch-annotations-processor") credentials { username = System.getenv("GITHUB_ACTOR") password = System.getenv("GITHUB_TOKEN") } } } publications { create("gpr") { from(components["java"]) } } }