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 faeff49
Show file tree
Hide file tree
Showing 37 changed files with 36 additions and 18,042 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
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/jewel-publish.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ val javadocJar by tasks.registering(Jar::class) {
}

publishing {
configureJewelRepositories()
configureJewelRepositories(project)

publications {
register<MavenPublication>("main") {
Expand Down
121 changes: 0 additions & 121 deletions markdown/README.md

This file was deleted.

Loading

0 comments on commit faeff49

Please sign in to comment.