Reorganize builtins built and use in the projects

This commit is contained in:
Ilya Chernikov
2017-08-30 00:11:29 +03:00
parent d039d191f2
commit d89b53dfea
10 changed files with 14 additions and 85 deletions
-41
View File
@@ -1,41 +0,0 @@
import org.gradle.api.tasks.compile.JavaCompile
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
repositories {
mavenLocal()
jcenter()
}
dependencies {
classpath("com.github.jengelman.gradle.plugins:shadow:1.2.3")
classpath(ideaSdkDeps("asm-all"))
}
}
apply {
plugin("kotlin")
plugin("com.github.johnrengelman.shadow")
}
jvmTarget = "1.6"
dependencies {
compile(project(":core:builtins"))
compile(project(":core"))
compile(protobufLite())
}
sourceSets {
"main" { projectDefault() }
"test" {}
}
tasks.withType<JavaCompile> {
dependsOn(protobufLiteTask)
}
tasks.withType<KotlinCompile> {
dependsOn(protobufLiteTask)
}