From 350e68b20f7d6bc5c6aafa14c9dc0300ce642399 Mon Sep 17 00:00:00 2001 From: Vyacheslav Gerasimov Date: Thu, 2 Aug 2018 19:56:16 +0300 Subject: [PATCH] as33: Add AS 3.3 bunchset built with AS 3.3 C4 Original commit: 8fc0c1d7b0e0ea05f2abb5f4063fc3068a2fdceb --- jps/jps-plugin/build.gradle.kts.as33 | 53 ++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 jps/jps-plugin/build.gradle.kts.as33 diff --git a/jps/jps-plugin/build.gradle.kts.as33 b/jps/jps-plugin/build.gradle.kts.as33 new file mode 100644 index 00000000000..314de763987 --- /dev/null +++ b/jps/jps-plugin/build.gradle.kts.as33 @@ -0,0 +1,53 @@ +plugins { + kotlin("jvm") + id("jps-compatible") +} + +val compilerModules: Array by rootProject.extra + +dependencies { + compile(project(":kotlin-build-common")) + compile(project(":core:descriptors")) + compile(project(":core:descriptors.jvm")) + compile(project(":kotlin-compiler-runner")) + compile(project(":compiler:daemon-common")) + compile(projectRuntimeJar(":kotlin-daemon-client")) + compile(project(":compiler:frontend.java")) + compile(project(":js:js.frontend")) + compile(projectRuntimeJar(":kotlin-preloader")) + compile(project(":idea:idea-jps-common")) + compileOnly(group = "org.jetbrains", name = "annotations", version = "13.0") + compileOnly(intellijDep()) { includeJars("jdom", "trove4j", "jps-model", "openapi", "platform-api", "util", "asm-all") } + compileOnly(intellijDep("jps-standalone")) { includeJars("jps-builders", "jps-builders-6") } + testCompileOnly(project(":kotlin-reflect-api")) + testCompile(project(":compiler:incremental-compilation-impl")) + testCompile(projectTests(":compiler:tests-common")) + testCompile(projectTests(":compiler:incremental-compilation-impl")) + testCompile(commonDep("junit:junit")) + testCompile(projectDist(":kotlin-test:kotlin-test-jvm")) + testCompile(projectTests(":kotlin-build-common")) + testCompileOnly(intellijDep("jps-standalone")) { includeJars("jps-builders", "jps-builders-6") } + testCompileOnly(intellijDep()) { includeJars("openapi", "idea", "platform-api", "log4j") } + testCompile(intellijDep("jps-build-test")) + compilerModules.forEach { + testRuntime(project(it)) + } + testRuntime(intellijDep()) + testRuntime(projectDist(":kotlin-reflect")) +} + +sourceSets { + "main" { projectDefault() } + "test" { + /*java.srcDirs("jps-tests/test" + /*, "kannotator-jps-plugin-test/test"*/ // Obsolete + )*/ + } +} + +projectTest { + dependsOn(":kotlin-compiler:dist") + workingDir = rootDir +} + +testsJar {}