Fix projects for gradle integration tests

This commit is contained in:
Ilya Chernikov
2017-09-13 19:40:15 +02:00
parent 8ec5cc7d16
commit 1862c78bdc
23 changed files with 185 additions and 90 deletions
@@ -18,10 +18,8 @@ sourceSets {
"test" {}
}
evaluationDependsOn(":kotlin-android-extensions-runtime")
runtimeJar {
from(project(":kotlin-android-extensions-runtime").the<JavaPluginConvention>().sourceSets["main"].output.classesDirs)
from(getSourceSetsFrom(":kotlin-android-extensions-runtime")["main"].output.classesDirs)
}
dist()
@@ -9,7 +9,7 @@ dependencies {
compile(project(":idea:idea-core"))
compile(project(":idea"))
compile(project(":idea:idea-gradle"))
compile(project(":android-extensions-compiler"))
compile(project(":plugins:android-extensions-compiler"))
compile(ideaPluginDeps("android", "sdk-tools", "sdk-common", plugin = "android"))
compile(ideaPluginDeps("Groovy", plugin = "Groovy"))
testCompile(project(":compiler.tests-common"))
@@ -4,7 +4,7 @@ apply { plugin("kotlin") }
dependencies {
compile(project(":compiler:util"))
compile(project(":jps-plugin"))
compile(project(":android-extensions-compiler"))
compile(project(":plugins:android-extensions-compiler"))
compile(ideaPluginDeps("android-jps-plugin", plugin = "android", subdir = "lib/jps"))
}
@@ -1,19 +1,3 @@
/*
* Copyright 2010-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
description = "Kotlin Android Extensions Runtime"
@@ -29,6 +13,8 @@ sourceSets {
"test" {}
}
runtimeJar ()
runtimeJar()
sourcesJar()
javadocJar()
publish()