Skip to content

Commit

Permalink
Include dependency model into connector plugin by applying shadow plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ryru committed Sep 11, 2024
1 parent b8411ce commit 98be32e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
23 changes: 2 additions & 21 deletions connector-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
id("ch.addere.dga.kotlin-library-conventions")
id("com.gradleup.shadow") version "8.3.1"
id("com.github.johnrengelman.shadow") version "8.1.1"
`java-gradle-plugin`
`maven-publish`
id("com.gradle.plugin-publish") version "1.2.1"
}

description = "Gradle plugin that is injected into to be analysed Gradle projects"
Expand Down Expand Up @@ -30,22 +30,3 @@ gradlePlugin {
}
}
}

publishing {
repositories {
maven {
name = "pluginRepo"
url = uri(layout.projectDirectory.dir("../build/pluginRepo"))
}

publications {
create<MavenPublication>("maven") {
from(components["kotlin"])
}
}
}
}

tasks.withType<PublishToMavenLocal> {
dependsOn(tasks.getByPath(":connector-model:publishToMavenLocal"))
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_configuration_properties
org.gradle.parallel=true
org.gradle.caching=true
connectorPluginVersion=0.1.2
connectorPluginVersion=0.1.3

0 comments on commit 98be32e

Please sign in to comment.