[Pill] Do not import modules with the 'FULL' variant
The 'FULL' variant proved to be hardly useful for everyday work. This change is the first step of removing the variant support from Pill.
This commit is contained in:
@@ -1,15 +1,8 @@
|
|||||||
import org.jetbrains.kotlin.pill.PillExtension
|
|
||||||
|
|
||||||
description = "Simple Annotation Processor for testing kapt"
|
description = "Simple Annotation Processor for testing kapt"
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm")
|
kotlin("jvm")
|
||||||
`maven-publish` // only used for installing to mavenLocal()
|
`maven-publish` // only used for installing to mavenLocal()
|
||||||
id("jps-compatible")
|
|
||||||
}
|
|
||||||
|
|
||||||
pill {
|
|
||||||
variant = PillExtension.Variant.FULL
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ plugins {
|
|||||||
id("java-gradle-plugin")
|
id("java-gradle-plugin")
|
||||||
id("org.jetbrains.kotlin.jvm")
|
id("org.jetbrains.kotlin.jvm")
|
||||||
id("com.gradle.plugin-publish")
|
id("com.gradle.plugin-publish")
|
||||||
id("jps-compatible")
|
|
||||||
id("maven-publish")
|
id("maven-publish")
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -13,10 +12,6 @@ repositories {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|
||||||
pill {
|
|
||||||
variant = 'FULL'
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api project(':kotlin-gradle-plugin-api')
|
api project(':kotlin-gradle-plugin-api')
|
||||||
// Use this dependency instead when building apart from the other modules:
|
// Use this dependency instead when building apart from the other modules:
|
||||||
|
|||||||
@@ -1,12 +1,5 @@
|
|||||||
import org.jetbrains.kotlin.pill.PillExtension
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("gradle-plugin-common-configuration")
|
id("gradle-plugin-common-configuration")
|
||||||
id("jps-compatible")
|
|
||||||
}
|
|
||||||
|
|
||||||
pill {
|
|
||||||
variant = PillExtension.Variant.FULL
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
apply plugin: 'jps-compatible'
|
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
testArtifacts
|
testArtifacts
|
||||||
@@ -17,10 +16,6 @@ dependencies {
|
|||||||
testArtifacts project(':kotlin-reflect')
|
testArtifacts project(':kotlin-reflect')
|
||||||
}
|
}
|
||||||
|
|
||||||
pill {
|
|
||||||
variant = 'FULL'
|
|
||||||
}
|
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
test {
|
test {
|
||||||
java {
|
java {
|
||||||
|
|||||||
@@ -1,12 +1,5 @@
|
|||||||
import org.jetbrains.kotlin.pill.PillExtension
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("gradle-plugin-common-configuration")
|
id("gradle-plugin-common-configuration")
|
||||||
id("jps-compatible")
|
|
||||||
}
|
|
||||||
|
|
||||||
pill {
|
|
||||||
variant = PillExtension.Variant.FULL
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
@@ -1,12 +1,5 @@
|
|||||||
import org.jetbrains.kotlin.pill.PillExtension
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("gradle-plugin-common-configuration")
|
id("gradle-plugin-common-configuration")
|
||||||
id("jps-compatible")
|
|
||||||
}
|
|
||||||
|
|
||||||
pill {
|
|
||||||
variant = PillExtension.Variant.FULL
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
@@ -1,17 +1,11 @@
|
|||||||
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
|
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
|
||||||
import org.jetbrains.kotlin.konan.target.HostManager
|
import org.jetbrains.kotlin.konan.target.HostManager
|
||||||
import org.jetbrains.kotlin.konan.target.KonanTarget
|
import org.jetbrains.kotlin.konan.target.KonanTarget
|
||||||
import org.jetbrains.kotlin.pill.PillExtension
|
|
||||||
import java.nio.file.Paths
|
import java.nio.file.Paths
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm")
|
kotlin("jvm")
|
||||||
kotlin("plugin.serialization")
|
kotlin("plugin.serialization")
|
||||||
id("jps-compatible")
|
|
||||||
}
|
|
||||||
|
|
||||||
pill {
|
|
||||||
variant = PillExtension.Variant.FULL
|
|
||||||
}
|
}
|
||||||
|
|
||||||
testsJar()
|
testsJar()
|
||||||
|
|||||||
@@ -1,11 +1,9 @@
|
|||||||
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
||||||
import com.github.jengelman.gradle.plugins.shadow.transformers.DontIncludeResourceTransformer
|
import com.github.jengelman.gradle.plugins.shadow.transformers.DontIncludeResourceTransformer
|
||||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||||
import org.jetbrains.kotlin.pill.PillExtension
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("gradle-plugin-common-configuration")
|
id("gradle-plugin-common-configuration")
|
||||||
id("jps-compatible")
|
|
||||||
id("org.jetbrains.kotlinx.binary-compatibility-validator")
|
id("org.jetbrains.kotlinx.binary-compatibility-validator")
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -15,10 +13,6 @@ repositories {
|
|||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
}
|
}
|
||||||
|
|
||||||
pill {
|
|
||||||
variant = PillExtension.Variant.FULL
|
|
||||||
}
|
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
compilerOptions {
|
compilerOptions {
|
||||||
optIn.addAll(
|
optIn.addAll(
|
||||||
|
|||||||
@@ -1,12 +1,5 @@
|
|||||||
import org.jetbrains.kotlin.pill.PillExtension
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("gradle-plugin-common-configuration")
|
id("gradle-plugin-common-configuration")
|
||||||
id("jps-compatible")
|
|
||||||
}
|
|
||||||
|
|
||||||
pill {
|
|
||||||
variant = PillExtension.Variant.FULL
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
@@ -1,12 +1,5 @@
|
|||||||
import org.jetbrains.kotlin.pill.PillExtension
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("gradle-plugin-common-configuration")
|
id("gradle-plugin-common-configuration")
|
||||||
id("jps-compatible")
|
|
||||||
}
|
|
||||||
|
|
||||||
pill {
|
|
||||||
variant = PillExtension.Variant.FULL
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
@@ -1,12 +1,5 @@
|
|||||||
import org.jetbrains.kotlin.pill.PillExtension
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("gradle-plugin-common-configuration")
|
id("gradle-plugin-common-configuration")
|
||||||
id("jps-compatible")
|
|
||||||
}
|
|
||||||
|
|
||||||
pill {
|
|
||||||
variant = PillExtension.Variant.FULL
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
@@ -1,14 +1,8 @@
|
|||||||
import org.gradle.jvm.tasks.Jar
|
import org.gradle.jvm.tasks.Jar
|
||||||
import org.jetbrains.kotlin.pill.PillExtension
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
java
|
java
|
||||||
kotlin("jvm")
|
kotlin("jvm")
|
||||||
id("jps-compatible")
|
|
||||||
}
|
|
||||||
|
|
||||||
pill {
|
|
||||||
variant = PillExtension.Variant.FULL
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
Reference in New Issue
Block a user