[JEWEL-899] Remove old Gradle plugins and tasks

This removes a number of now-unused Gradle plugins and tasks:
 * `ide-version-checker` (not used anymore)
 * `jewel-publish`, `PublishConfiguration`, and related tasks
   (publishing is handled by the JPS build)
 * `MergeSarifTask` (not used anymore) and related tasks
 * Related run configs

Note: `icon-keys-generator` has not been removed yet, even tho the
actual generator runs as part of the IJP's generation, since the
Gradle build would remain without the generated file otherwise. Since
we're planning to eventually sunset the Gradle build, this is only a
temporary necessity.

closes https://github.com/JetBrains/intellij-community/pull/3139

(cherry picked from commit e87697b81c7b581d6a5aa6d8daeeb18dbf622997)


(cherry picked from commit bc5f684a9d81b632f17c5cfb6caf35bd533563f5)

IJ-MR-173046

GitOrigin-RevId: 4d918d80f9338fe20a88dcb80f3c4fb65095d3bd
This commit is contained in:
Sebastiano Poggi
2025-07-21 18:41:39 +02:00
committed by intellij-monorepo-bot
parent 9605fdf44b
commit 36dc915b48
31 changed files with 1 additions and 628 deletions

View File

@@ -1,24 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Check IJP updates" type="GradleRunConfiguration" factoryName="Gradle" folderName="Checks">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="checkLatestIntelliJPlatformBuild" />
</list>
</option>
<option name="vmOptions" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<RunAsTest>false</RunAsTest>
<method v="2" />
</configuration>
</component>

View File

@@ -1,25 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="IDE sample" type="GradleRunConfiguration" factoryName="Gradle" show_console_on_std_err="true" show_console_on_std_out="true">
<log_file alias="IDE Logs" path="$PROJECT_DIR$/build/idea-sandbox/*/log/idea.log" show_all="true" />
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$/samples/ide-plugin" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value=":samples:ide-plugin:runIde" />
</list>
</option>
<option name="vmOptions" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<RunAsTest>false</RunAsTest>
<method v="2" />
</configuration>
</component>

View File

@@ -1,25 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Pre-push" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="validatePublicApi" />
<option value="ktfmtFormat" />
</list>
</option>
<option name="vmOptions" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<RunAsTest>false</RunAsTest>
<method v="2" />
</configuration>
</component>

View File

@@ -1,24 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Regenerate icon keys" type="GradleRunConfiguration" factoryName="Gradle" folderName="Generators">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="--rerun-tasks" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value=":ui:generateAllIconsKeys" />
</list>
</option>
<option name="vmOptions" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<RunAsTest>false</RunAsTest>
<method v="2" />
</configuration>
</component>

View File

@@ -1,25 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Regenerate themes" type="GradleRunConfiguration" factoryName="Gradle" folderName="Generators">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="--rerun-tasks" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value=":int-ui:int-ui-standalone:generateIntUiDarkTheme" />
<option value=":int-ui:int-ui-standalone:generateIntUiLightTheme" />
</list>
</option>
<option name="vmOptions" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<RunAsTest>false</RunAsTest>
<method v="2" />
</configuration>
</component>

View File

@@ -1,25 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Run checks" type="GradleRunConfiguration" factoryName="Gradle" folderName="Checks">
<log_file alias="IDE Logs" path="$PROJECT_DIR$/build/idea-sandbox/*/log/idea.log" show_all="true" />
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="check" />
</list>
</option>
<option name="vmOptions" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<RunAsTest>false</RunAsTest>
<method v="2" />
</configuration>
</component>

View File

@@ -1,24 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Tag release" type="GradleRunConfiguration" factoryName="Gradle" folderName="Publish">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value=":tagRelease" />
</list>
</option>
<option name="vmOptions" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<RunAsTest>false</RunAsTest>
<method v="2" />
</configuration>
</component>

View File

@@ -1,25 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Test publication" type="GradleRunConfiguration" factoryName="Gradle" folderName="Publish">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="-PuseCurrentVersion -Pno-sign=true" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="cleanTestPublishArtifacts" />
<option value="publishAllPublicationsToLocalTestRepository" />
</list>
</option>
<option name="vmOptions" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<RunAsTest>false</RunAsTest>
<method v="2" />
</configuration>
</component>

View File

@@ -6,180 +6,7 @@ plugins {
`jewel-linting`
}
dependencies {
sarif(projects.decoratedWindow)
sarif(projects.foundation)
sarif(projects.ideLafBridge)
sarif(projects.intUi.intUiDecoratedWindow)
sarif(projects.intUi.intUiStandalone)
sarif(projects.markdown.core)
sarif(projects.markdown.extensions.autolink)
sarif(projects.markdown.extensions.gfmAlerts)
sarif(projects.markdown.extensions.gfmStrikethrough)
sarif(projects.markdown.extensions.gfmTables)
sarif(projects.markdown.extensions.images)
sarif(projects.markdown.ideLafBridgeStyling)
sarif(projects.markdown.intUiStandaloneStyling)
sarif(projects.samples.idePlugin)
sarif(projects.samples.standalone)
sarif(projects.ui)
}
// Faff needed to comply with Gradle's service injection.
// See https://docs.gradle.org/current/userguide/service_injection.html#execoperations
interface InjectedExecOps {
@get:Inject val execOps: ExecOperations
fun exec(init: ExecSpec.() -> Unit): ExecResult = execOps.exec(init)
}
tasks {
register("tagRelease") {
val injected = project.objects.newInstance<InjectedExecOps>()
description = "Tags main branch and releases branches with provided tag name"
group = "release"
doFirst {
val rawReleaseVersion =
((project.property("jewel.release.version") as String?)?.takeIf { it.isNotBlank() }
?: throw GradleException("Please provide a jewel.release.version in gradle.properties"))
val releaseName = "v$rawReleaseVersion"
val stdOut = ByteArrayOutputStream()
// Check we're on the main branch
logger.info("Checking current branch is main...")
injected
.exec {
commandLine = listOf("git", "rev-parse", "--abbrev-ref", "HEAD")
standardOutput = stdOut
}
.assertNormalExitValue()
val currentBranch = stdOut.use { it.toString() }.trim()
if (currentBranch != "main") {
throw GradleException("This task must only be run on the main branch")
}
// Check tag doesn't already exist
logger.info("Checking current branch is main...")
stdOut.reset()
injected
.exec {
commandLine = listOf("git", "tag")
standardOutput = stdOut
}
.assertNormalExitValue()
if (stdOut.toString().trim().lines().any { it == releaseName }) {
throw GradleException("The tag $releaseName already exists!")
}
// Check there are no uncommitted changes
logger.info("Checking all changes have been committed...")
stdOut.reset()
injected
.exec {
commandLine = listOf("git", "status", "--porcelain")
standardOutput = stdOut
}
.assertNormalExitValue()
if (stdOut.toString().isNotBlank()) {
throw GradleException("Please commit all changes before tagging a release")
}
// Get the current HEAD hash
logger.info("Getting HEAD hash...")
stdOut.reset()
injected
.exec {
commandLine = listOf("git", "rev-parse", "HEAD")
standardOutput = stdOut
}
.assertNormalExitValue()
val currentHead = stdOut.use { it.toString() }.trim()
// Enumerate the release branches
logger.info("Enumerating release branches...")
stdOut.reset()
injected
.exec {
commandLine = listOf("git", "branch")
standardOutput = stdOut
}
.assertNormalExitValue()
val releaseBranches =
stdOut
.use { it.toString() }
.lines()
.filter { it.trim().startsWith("releases/") }
.map { it.trim().removePrefix("releases/") }
if (releaseBranches.isEmpty()) {
throw GradleException("No local release branches found, make sure they exist locally")
}
logger.lifecycle("Release branches: ${releaseBranches.joinToString { "releases/$it" }}")
// Check all release branches have gotten the latest from main
logger.info("Validating release branches...")
for (branch in releaseBranches) {
stdOut.reset()
injected
.exec {
commandLine = listOf("git", "merge-base", "main", "releases/$branch")
standardOutput = stdOut
}
.assertNormalExitValue()
val mergeBase = stdOut.use { it.toString() }.trim()
if (mergeBase != currentHead) {
throw GradleException("Branch releases/$branch is not up-to-date with main!")
}
}
// Tag main branch
logger.lifecycle("Tagging head of main branch as $releaseName...")
injected.exec { commandLine = listOf("git", "tag", releaseName) }.assertNormalExitValue()
// Tag release branches
for (branch in releaseBranches) {
val branchTagName = "$releaseName-$branch"
logger.lifecycle("Tagging head of branch releases/$branch as $branchTagName...")
stdOut.reset()
logger.info("Getting branch head commit...")
injected
.exec {
commandLine = listOf("git", "rev-parse", "releases/$branch")
standardOutput = stdOut
}
.assertNormalExitValue()
val branchHead = stdOut.use { it.toString() }.trim()
logger.info("HEAD of releases/$branch is $branchHead")
logger.info("Tagging commit ${branchHead.take(7)} as $branchTagName")
stdOut.reset()
injected
.exec {
commandLine = listOf("git", "tag", branchTagName, branchHead)
standardOutput = stdOut
}
.assertNormalExitValue()
}
logger.info("All done!")
}
}
register<Delete>("cleanTestPublishArtifacts") { delete(rootProject.layout.buildDirectory.dir("maven-test")) }
register<Delete>("clean") { delete(rootProject.layout.buildDirectory) }
wrapper { distributionType = Wrapper.DistributionType.ALL }

View File

@@ -21,7 +21,6 @@ dependencies {
implementation(libs.detekt.gradlePlugin)
implementation(libs.dokka.gradlePlugin)
implementation(libs.kotlin.gradlePlugin)
implementation(libs.kotlinSarif)
implementation(libs.kotlinpoet)
implementation(libs.kotlinter.gradlePlugin)
implementation(libs.ktfmt.gradlePlugin)

View File

@@ -1,63 +0,0 @@
import io.github.detekt.sarif4k.Run
import io.github.detekt.sarif4k.SarifSchema210
import io.github.detekt.sarif4k.Tool
import io.github.detekt.sarif4k.ToolComponent
import io.github.detekt.sarif4k.Version
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.decodeFromStream
import kotlinx.serialization.json.encodeToStream
import org.gradle.api.file.RegularFileProperty
import org.gradle.api.tasks.CacheableTask
import org.gradle.api.tasks.OutputFile
import org.gradle.api.tasks.SourceTask
import org.gradle.api.tasks.TaskAction
private const val SARIF_SCHEMA =
"https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json"
@CacheableTask
open class MergeSarifTask : SourceTask() {
init {
group = "verification"
}
@get:OutputFile
val mergedSarifPath: RegularFileProperty =
project.objects.fileProperty().convention(project.layout.buildDirectory.file("reports/static-analysis.sarif"))
@TaskAction
fun merge() {
val json = Json { prettyPrint = true }
logger.lifecycle("Merging ${source.files.size} SARIF file(s)...")
logger.lifecycle(source.files.joinToString("\n") { " * ~${it.path.removePrefix(project.rootDir.path)}" })
val merged =
SarifSchema210(
schema = SARIF_SCHEMA,
version = Version.The210,
runs =
source.files
.asSequence()
.filter { it.extension == "sarif" }
.map { file -> file.inputStream().use { json.decodeFromStream<SarifSchema210>(it) } }
.flatMap { report -> report.runs }
.groupBy { run -> run.tool.driver.guid ?: run.tool.driver.name }
.values
.asSequence()
.filter { it.isNotEmpty() }
.map { runs ->
Run(
results = runs.flatMap { it.results.orEmpty() },
tool = Tool(driver = ToolComponent(name = "Jewel static analysis")),
)
}
.toList(),
)
logger.lifecycle("Merged SARIF file contains ${merged.runs.size} run(s)")
logger.info("Writing merged SARIF file to $mergedSarifPath...")
mergedSarifPath.asFile.get().outputStream().use { json.encodeToStream(merged, it) }
}
}

View File

@@ -1,41 +0,0 @@
@file:Suppress("UnstableApiUsage", "UnusedImports")
import org.gradle.api.Project
import org.gradle.api.publish.PublishingExtension
import org.gradle.api.publish.maven.MavenPom
import org.gradle.kotlin.dsl.assign
import org.gradle.kotlin.dsl.maven
internal fun PublishingExtension.configureJewelRepositories(project: Project) {
repositories {
maven("https://packages.jetbrains.team/maven/p/kpm/public") {
name = "Space"
credentials {
username = System.getenv("MAVEN_SPACE_USERNAME")
password = System.getenv("MAVEN_SPACE_PASSWORD")
}
}
maven(project.rootProject.layout.buildDirectory.dir("maven-test")) { name = "LocalTest" }
}
}
/**
* Obsolete, please use https://github.com/JetBrains/intellij-community/blob/master/build/src/org/jetbrains/intellij/build/JewelMavenArtifacts.kt instead
*/
internal fun MavenPom.configureJewelPom() {
name = "Jewel"
description = "A theme for Compose for Desktop that implements the IntelliJ Platform look and feel."
url = "https://github.com/JetBrains/jewel"
licenses {
license {
name = "Apache License 2.0"
url = "https://www.apache.org/licenses/LICENSE-2.0.txt"
}
}
scm {
connection = "scm:git:https://github.com/JetBrains/jewel.git"
developerConnection = "scm:git:https://github.com/JetBrains/jewel.git"
url = "https://github.com/JetBrains/jewel"
}
}

View File

@@ -1,3 +0,0 @@
import org.jetbrains.jewel.buildlogic.ideversion.CheckIdeaVersionTask
tasks.register<CheckIdeaVersionTask>("checkLatestIntelliJPlatformBuild")

View File

@@ -6,16 +6,6 @@ plugins {
id("com.ncorti.ktfmt.gradle")
}
configurations {
val dependencies = register("sarif") { isCanBeDeclared = true }
register("outgoingSarif") {
isCanBeConsumed = true
isCanBeResolved = true
extendsFrom(dependencies.get())
attributes { attribute(Usage.USAGE_ATTRIBUTE, objects.named("sarif")) }
}
}
detekt {
autoCorrect = true
config.from(files(rootProject.file("detekt.yml")))

View File

@@ -1,69 +0,0 @@
@file:Suppress("UnstableApiUsage")
plugins {
kotlin("jvm")
`maven-publish`
id("org.jetbrains.dokka")
id("org.jetbrains.dokka-javadoc")
signing
}
dokka {
dokkaSourceSets {
named("main") {
sourceLink {
// Point to IJP sources
remoteUrl("https://github.com/JetBrains/intellij-community")
localDirectory.set(rootDir)
}
}
}
}
val sourcesJar by
tasks.registering(Jar::class) {
from(kotlin.sourceSets.main.map { it.kotlin })
archiveClassifier = "sources"
destinationDirectory = layout.buildDirectory.dir("artifacts")
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
val javadocJar by
tasks.registering(Jar::class) {
from(tasks.dokkaGenerateModuleJavadoc)
archiveClassifier = "javadoc"
destinationDirectory = layout.buildDirectory.dir("artifacts")
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
val publishingExtension = extensions.getByType<PublishingExtension>()
signing {
useInMemoryPgpKeys(
System.getenv("PGP_PRIVATE_KEY") ?: properties["signing.privateKey"] as String?,
System.getenv("PGP_PASSWORD") ?: properties["signing.password"] as String?,
)
if (project.hasProperty("no-sign")) {
logger.warn("⚠️ CAUTION! NO-SIGN MODE ENABLED, PUBLICATIONS WON'T BE SIGNED")
} else {
sign(publishingExtension.publications)
}
}
publishing {
configureJewelRepositories(project)
val ijpTarget = project.property("ijp.target") as String
publications {
register<MavenPublication>("main") {
from(components["kotlin"])
artifact(javadocJar)
artifact(sourcesJar)
version = project.version as String
artifactId = "jewel-${project.name}-$ijpTarget"
pom { configureJewelPom() }
}
}
}

View File

@@ -57,16 +57,9 @@ kotlin {
}
}
val sarifReport: Provider<RegularFile> = layout.buildDirectory.file("reports/ktlint-${project.name}.sarif")
tasks {
detektMain {
val sarifOutputFile = layout.buildDirectory.file("reports/detekt-${project.name}.sarif")
exclude { it.file.absolutePath.startsWith(layout.buildDirectory.asFile.get().absolutePath) }
reports {
sarif.required = true
sarif.outputLocation = sarifOutputFile
}
}
formatKotlinMain { exclude { it.file.absolutePath.replace('\\', '/').contains("build/generated") } }
@@ -79,15 +72,7 @@ tasks {
mapOf(
"plain" to layout.buildDirectory.file("reports/ktlint-${project.name}.txt").get().asFile,
"html" to layout.buildDirectory.file("reports/ktlint-${project.name}.html").get().asFile,
"sarif" to sarifReport.get().asFile,
)
}
}
}
configurations.named("sarif") {
outgoing {
artifact(tasks.detektMain.flatMap { it.sarifReportFile }) { builtBy(tasks.detektMain) }
artifact(sarifReport) { builtBy(tasks.lintKotlinMain) }
}
}

View File

@@ -2,7 +2,6 @@ import org.jetbrains.compose.ComposeBuildConfig
plugins {
jewel
`jewel-publish`
`jewel-check-public-api`
alias(libs.plugins.composeDesktop)
alias(libs.plugins.compose.compiler)

View File

@@ -2,7 +2,6 @@ import org.jetbrains.compose.ComposeBuildConfig
plugins {
jewel
`jewel-publish`
`jewel-check-public-api`
alias(libs.plugins.composeDesktop)
alias(libs.plugins.compose.compiler)

View File

@@ -2,9 +2,7 @@ import java.net.URI
plugins {
jewel
`jewel-publish`
`jewel-check-public-api`
`ide-version-checker`
alias(libs.plugins.composeDesktop)
alias(libs.plugins.compose.compiler)
alias(libs.plugins.ideaPluginModule)

View File

@@ -1,6 +1,5 @@
plugins {
jewel
`jewel-publish`
`jewel-check-public-api`
alias(libs.plugins.composeDesktop)
alias(libs.plugins.compose.compiler)

View File

@@ -1,6 +1,5 @@
plugins {
jewel
`jewel-publish`
`jewel-check-public-api`
alias(libs.plugins.composeDesktop)
alias(libs.plugins.compose.compiler)

View File

@@ -1,6 +1,5 @@
plugins {
jewel
`jewel-publish`
`jewel-check-public-api`
alias(libs.plugins.composeDesktop)
alias(libs.plugins.compose.compiler)
@@ -16,8 +15,3 @@ dependencies {
}
publicApiValidation { excludedClassRegexes = setOf("org.jetbrains.jewel.markdown.MarkdownBlock.*") }
publishing.publications.named<MavenPublication>("main") {
val ijpTarget = project.property("ijp.target") as String
artifactId = "jewel-markdown-${project.name}-$ijpTarget"
}

View File

@@ -1,6 +1,5 @@
plugins {
jewel
`jewel-publish`
`jewel-check-public-api`
alias(libs.plugins.composeDesktop)
alias(libs.plugins.compose.compiler)
@@ -11,8 +10,3 @@ dependencies {
implementation(libs.commonmark.ext.autolink)
testImplementation(compose.desktop.uiTestJUnit4)
}
publishing.publications.named<MavenPublication>("main") {
val ijpTarget = project.property("ijp.target") as String
artifactId = "jewel-markdown-extension-${project.name}-$ijpTarget"
}

View File

@@ -1,6 +1,5 @@
plugins {
jewel
`jewel-publish`
`jewel-check-public-api`
alias(libs.plugins.composeDesktop)
alias(libs.plugins.compose.compiler)
@@ -13,8 +12,3 @@ dependencies {
}
publicApiValidation { excludedClassRegexes = setOf("org.jetbrains.jewel.markdown.extensions.github.alerts.*") }
publishing.publications.named<MavenPublication>("main") {
val ijpTarget = project.property("ijp.target") as String
artifactId = "jewel-markdown-extension-${project.name}-$ijpTarget"
}

View File

@@ -1,6 +1,5 @@
plugins {
jewel
`jewel-publish`
`jewel-check-public-api`
alias(libs.plugins.composeDesktop)
alias(libs.plugins.compose.compiler)
@@ -12,9 +11,4 @@ dependencies {
testImplementation(compose.desktop.uiTestJUnit4)
}
publishing.publications.named<MavenPublication>("main") {
val ijpTarget = project.property("ijp.target") as String
artifactId = "jewel-markdown-extension-${project.name}-$ijpTarget"
}
publicApiValidation { excludedClassRegexes = setOf("org.jetbrains.jewel.markdown.extensions.github.strikethrough.*") }

View File

@@ -2,7 +2,6 @@ import org.jetbrains.kotlin.compose.compiler.gradle.ComposeFeatureFlag
plugins {
jewel
`jewel-publish`
`jewel-check-public-api`
alias(libs.plugins.composeDesktop)
alias(libs.plugins.compose.compiler)
@@ -17,9 +16,4 @@ dependencies {
publicApiValidation { excludedClassRegexes = setOf("org.jetbrains.jewel.markdown.extensions.github.tables.*") }
publishing.publications.named<MavenPublication>("main") {
val ijpTarget = project.property("ijp.target") as String
artifactId = "jewel-markdown-extension-${project.name}-$ijpTarget"
}
composeCompiler { featureFlags.add(ComposeFeatureFlag.OptimizeNonSkippingGroups) }

View File

@@ -1,6 +1,5 @@
plugins {
jewel
`jewel-publish`
`jewel-check-public-api`
alias(libs.plugins.composeDesktop)
alias(libs.plugins.compose.compiler)
@@ -15,8 +14,3 @@ dependencies {
runtimeOnly(libs.ktor.client.java)
testImplementation(compose.desktop.uiTestJUnit4)
}
publishing.publications.named<MavenPublication>("main") {
val ijpTarget = project.property("ijp.target") as String
artifactId = "jewel-markdown-extension-${project.name}-$ijpTarget"
}

View File

@@ -2,7 +2,6 @@ import java.net.URI
plugins {
jewel
`jewel-publish`
`jewel-check-public-api`
alias(libs.plugins.composeDesktop)
alias(libs.plugins.compose.compiler)
@@ -41,8 +40,3 @@ dependencies {
testImplementation(compose.desktop.uiTestJUnit4)
}
publishing.publications.named<MavenPublication>("main") {
val ijpTarget = project.property("ijp.target") as String
artifactId = "jewel-markdown-${project.name}-$ijpTarget"
}

View File

@@ -1,6 +1,5 @@
plugins {
jewel
`jewel-publish`
`jewel-check-public-api`
alias(libs.plugins.composeDesktop)
alias(libs.plugins.compose.compiler)
@@ -14,8 +13,3 @@ dependencies {
testImplementation(compose.desktop.uiTestJUnit4)
}
publishing.publications.named<MavenPublication>("main") {
val ijpTarget = project.property("ijp.target") as String
artifactId = "jewel-markdown-${project.name}-$ijpTarget"
}

View File

@@ -56,5 +56,5 @@ intellijPlatform {
tasks {
runIde { jvmArgs = listOf("-Xmx3g") }
withType<Detekt>() { exclude("**/AndroidStudioReleases.kt") }
withType<Detekt> { exclude("**/AndroidStudioReleases.kt") }
}

View File

@@ -3,7 +3,6 @@ import org.jmailen.gradle.kotlinter.tasks.LintTask
plugins {
jewel
`jewel-publish`
`jewel-check-public-api`
`icon-keys-generator`
alias(libs.plugins.composeDesktop)