Skip to content

Commit

Permalink
Merge in build changes from main
Browse files Browse the repository at this point in the history
The markdown modules should only live on main for now.

Also restore run configs that were missing for branch.
  • Loading branch information
rock3r committed Feb 14, 2024
1 parent 20cb957 commit 0db5e54
Show file tree
Hide file tree
Showing 40 changed files with 38 additions and 18,045 deletions.
25 changes: 25 additions & 0 deletions .idea/runConfigurations/IDE_sample.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ plugins {
dependencies {
sarif(projects.foundation)
sarif(projects.ideLafBridge)
sarif(projects.markdown.core)
sarif(projects.markdown.extensionGfmAlerts)
sarif(projects.samples.idePlugin)
sarif(projects.ui)
}
Expand Down
8 changes: 7 additions & 1 deletion buildSrc/src/main/kotlin/PublishConfiguration.kt
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
@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
import java.io.File

internal fun PublishingExtension.configureJewelRepositories() {
internal fun PublishingExtension.configureJewelRepositories(project: Project) {
repositories {
maven("https://packages.jetbrains.team/maven/p/kpm/public") {
name = "Space"
Expand All @@ -14,6 +16,10 @@ internal fun PublishingExtension.configureJewelRepositories() {
password = System.getenv("MAVEN_SPACE_PASSWORD")
}
}

maven(project.rootProject.layout.buildDirectory.dir("maven-test")) {
name = "LocalTest"
}
}
}

Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/jewel-publish.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ val javadocJar by tasks.registering(Jar::class) {
}

publishing {
configureJewelRepositories()
configureJewelRepositories(project)

publications {
register<MavenPublication>("main") {
from(components["kotlin"])
artifact(javadocJar)
artifact(sourcesJar)
version = project.version.toString()
version = project.properties["jewel.release.version"] as String
artifactId = "jewel-${project.name}"
pom { configureJewelPom() }
}
Expand Down
1 change: 0 additions & 1 deletion foundation/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import org.jetbrains.compose.ComposeBuildConfig

plugins {
jewel
`jewel-publish`
`jewel-check-public-api`
alias(libs.plugins.composeDesktop)
}
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ kotlin.stdlib.default.dependency=false
kotlin.incremental.useClasspathSnapshot=false

bridge.ijp.target=232
jewel.release.version=0.14.0
121 changes: 0 additions & 121 deletions markdown/README.md

This file was deleted.

Loading

0 comments on commit 0db5e54

Please sign in to comment.