mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
39 lines
971 B
Kotlin
39 lines
971 B
Kotlin
|
|
import org.gradle.jvm.tasks.Jar
|
|
|
|
description = "Kotlin Android Extensions Compiler"
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(project(":compiler:util"))
|
|
compileOnly(project(":compiler:plugin-api"))
|
|
compileOnly(project(":compiler:frontend"))
|
|
compileOnly(project(":compiler:frontend.java"))
|
|
compileOnly(project(":compiler:backend"))
|
|
compileOnly(project(":kotlin-android-extensions-runtime"))
|
|
runtimeOnly(projectRuntimeJar(":kotlin-compiler-embeddable"))
|
|
compileOnly(commonDep("com.google.android", "android"))
|
|
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
|
|
|
embedded(project(":plugins:android-extensions-compiler")) { isTransitive = false }
|
|
embedded(project(":kotlin-android-extensions-runtime")) { isTransitive = false }
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" {}
|
|
}
|
|
|
|
publish()
|
|
|
|
noDefaultJar()
|
|
runtimeJar(rewriteDefaultJarDepsToShadedCompiler())
|
|
|
|
sourcesJar()
|
|
|
|
javadocJar()
|
|
|