Skip to content

Commit

Permalink
Setup publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
David Schreiber-Ranner committed Apr 29, 2020
1 parent 2a1b017 commit a44e3c4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ Inside your top-level Gradle file add the Inspector Graphetto plugin:
**In a `build.gradle` file (Groovy):**
```groovy
plugins {
id 'at.droiddave.graphetto' version '1.0.0-SNAPSHOT'
id 'at.droiddave.graphetto' version '0.0.1'
}
```

**In a `build.gradle.kts` Kotlin DSL file:**

```kotlin
plugins {
id("at.droiddave.graphetto") version "1.0.0-SNAPSHOT"
id("at.droiddave.graphetto") version "0.0.1"
}
```

Expand Down
16 changes: 15 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ plugins {
// the builds (not exact though): https://youtrack.jetbrains.com/issue/KT-34527
kotlin("jvm") version "1.3.50"
id("java-gradle-plugin")
id("com.gradle.plugin-publish") version "0.11.0"
}

group = "at.droiddave.graphetto"
version = "1.0-SNAPSHOT"
version = "0.0.1"

repositories {
mavenCentral()
Expand Down Expand Up @@ -45,4 +46,17 @@ gradlePlugin {
implementationClass = "at.droiddave.graphetto.GraphettoPlugin"
}
}
}

pluginBundle {
website = "https://github.com/davidschreiber/graphetto"
vcsUrl = "https://github.com/davidschreiber/graphetto"
(plugins) {
"graphetto" {
displayName = "Inspector Graphetto"
description = "Inspector Graphetto is a Gradle build plugin to inspect and visualize the task execution " +
"graph of your build."
tags = listOf("graphetto", "gradle-task", "task-graph", "tasks", "graph", "graphviz", "dot")
}
}
}

0 comments on commit a44e3c4

Please sign in to comment.