Skip to content

Commit

Permalink
Remove "incubator" from Gradle plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisCAD committed Nov 13, 2023
1 parent ec8ba18 commit 15c36e7
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion gradle-plugins/settings-include-dsl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ Go in the `settings.gradle.kts` file, located at the root of your Gradle project
Add the following line into the `plugins { … }` block (add one at the top of the file it there's none):

```gradle.kts
id("org.splitties.incubator.settings-include-dsl") version "0.2.6-SNAPSHOT"
id("org.splitties.settings-include-dsl") version "0.2.6"
```
6 changes: 3 additions & 3 deletions gradle-plugins/settings-include-dsl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ plugins {
`kotlin-dsl`
}

group = "org.splitties.incubator"
group = "org.splitties.gradle"

gradlePlugin {
website = "https://github.com/LouisCAD/LibPublishingHelpers/tree/main/gradle-plugins/settings-include-dsl"
vcsUrl = "https://github.com/LouisCAD/LibPublishingHelpers.git"
plugins {
create(project.name) {
id = "org.splitties.incubator.settings-include-dsl"
id = "org.splitties.settings-include-dsl"
displayName = "Settings include DSL"
description = "For Gradle projects with nested modules where you call include a lot."
tags = listOf("kotlin-dsl", "kotlin")
implementationClass = "org.splitties.incubator.gradle.SettingsIncludeDslPlugin"
implementationClass = "org.splitties.gradle.SettingsIncludeDslPlugin"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.splitties.incubator.gradle
package org.splitties.gradle

import org.gradle.api.initialization.Settings

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.splitties.incubator.gradle
package org.splitties.gradle

import org.gradle.api.Plugin
import org.gradle.api.initialization.Settings
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.gradle.kotlin.dsl

import org.gradle.api.initialization.Settings
import org.splitties.incubator.gradle.ModuleParentScope
import org.splitties.gradle.ModuleParentScope

inline fun Settings.include(block: ModuleParentScope.() -> Unit) {
ModuleParentScope(settings = this, name = "").block()
Expand Down
4 changes: 2 additions & 2 deletions gradle-plugins/version-sync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ For example, the SqlDelight Gradle plugin needs to know its version for driver d
With the Version sync Gradle plugin, you can do it easily from your `build.gradle.kts` file:

```gradle.kts
import org.splitties.incubator.gradle.putVersionInCode
import org.splitties.gradle.putVersionInCode

// Rest of your build code...

Expand All @@ -56,5 +56,5 @@ Go in the `settings.gradle.kts` file, located at the root of your Gradle project
Add the following line into the `plugins { … }` block (add one at the top of the file it there's none):

```gradle.kts
id("org.splitties.incubator.version-sync") version "0.2.6-SNAPSHOT"
id("org.splitties.version-sync") version "0.2.6"
```
6 changes: 3 additions & 3 deletions gradle-plugins/version-sync/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ plugins {
`kotlin-dsl`
}

group = "org.splitties.incubator"
group = "org.splitties.gradle"

gradlePlugin {
website = "https://github.com/LouisCAD/LibPublishingHelpers/tree/main/gradle-plugins/version-sync"
vcsUrl = "https://github.com/LouisCAD/LibPublishingHelpers.git"
plugins {
create(project.name) {
id = "org.splitties.incubator.version-sync"
id = "org.splitties.version-sync"
displayName = "Sync version in all projects"
description = "For library or Gradle plugin projects where you want to centralize where the version is defined."
tags = listOf("kotlin-dsl", "kotlin", "versioning", "multi-modules")
implementationClass = "org.splitties.incubator.gradle.VersionSyncPlugin"
implementationClass = "org.splitties.gradle.VersionSyncPlugin"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.splitties.incubator.gradle
package org.splitties.gradle

import org.gradle.api.provider.Property
import java.io.File
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.splitties.incubator.gradle
package org.splitties.gradle

import org.gradle.api.Plugin
import org.gradle.api.initialization.Settings
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.gradle.kotlin.dsl

import org.gradle.api.initialization.Settings
import org.splitties.incubator.gradle.VersionSyncExtension
import org.splitties.gradle.VersionSyncExtension

fun Settings.versionSync(configure: VersionSyncExtension.() -> Unit) {
extensions.getByType<VersionSyncExtension>().configure()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.splitties.incubator.gradle
package org.splitties.gradle

import org.gradle.api.Project
import org.gradle.api.file.Directory
Expand Down

0 comments on commit 15c36e7

Please sign in to comment.