rahul_lohra
05/09/2024, 3:20 PMplugins {
id 'maven-publish'
}
apply plugin: 'org.jetbrains.kotlin.jvm'
def artifactId = "android-extensions-compiler"
group = 'rahul.android.extensions.compiler'
version = "$ANDROID_EXTENSIONS_COMPILER_VERSION"
repositories {
mavenCentral()
google()
mavenLocal()
}
dependencies {
implementation("com.android.tools.external.com-intellij:intellij-core:$INTELLIJ_CORE_VERSION")
implementation("org.jetbrains.kotlin:kotlin-compiler-embeddable:$KOTLIN_VERSION")
implementation("org.jetbrains.kotlin:kotlin-scripting-compiler:$KOTLIN_VERSION")
implementation("rahul.android.extensions.compiler:android-extensions-compiler-runtime:$ANDROID_EXTENSIONS_COMPILER_VERSION")
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
// Publish the plugin to Maven Local
groupId = "${group}"
artifactId = "${artifactId}"
version = "${version}"
}
}
repositories {
mavenLocal()
}
}
ephemient
05/09/2024, 4:31 PMephemient
05/09/2024, 4:35 PM