Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
Replace all IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Aug 1, 2024
1 parent 298eabd commit 861f4cb
Show file tree
Hide file tree
Showing 16 changed files with 43 additions and 45 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Read the [User Guide](https://imperceptiblethoughts.com/shadow/)!

## Current Status

[![Maven Central](https://img.shields.io/maven-central/v/io.github.goooler.shadow/shadow-gradle-plugin)](https://central.sonatype.com/artifact/io.github.goooler.shadow/shadow-gradle-plugin)
[![Sonatype Nexus (Snapshots)](https://img.shields.io/nexus/s/io.github.goooler.shadow/shadow-gradle-plugin?&server=https://s01.oss.sonatype.org/)](https://s01.oss.sonatype.org/content/repositories/snapshots/io/github/GradleUp/shadow/shadow-gradle-plugin)
[![Plugin Portal](https://img.shields.io/gradle-plugin-portal/v/io.github.goooler.shadow)](https://plugins.gradle.org/plugin/io.github.goooler.shadow)
[![Maven Central](https://img.shields.io/maven-central/v/com.gradleup.shadow/shadow-gradle-plugin)](https://central.sonatype.com/artifact/com.gradleup.shadow/shadow-gradle-plugin)
[![Sonatype Nexus (Snapshots)](https://img.shields.io/nexus/s/com.gradleup.shadow/shadow-gradle-plugin?&server=https://s01.oss.sonatype.org/)](https://s01.oss.sonatype.org/content/repositories/snapshots/io/github/GradleUp/shadow/shadow-gradle-plugin)
[![Plugin Portal](https://img.shields.io/gradle-plugin-portal/v/com.gradleup.shadow)](https://plugins.gradle.org/plugin/com.gradleup.shadow)
[![CI](https://github.com/GradleUp/shadow/actions/workflows/ci.yml/badge.svg?branch=main&event=push)](https://github.com/GradleUp/shadow/actions/workflows/main.yml?query=branch:trunk+event:push)
[![License](https://img.shields.io/github/license/GradleUp/shadow.svg)](LICENSE)

Expand Down
24 changes: 11 additions & 13 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
GROUP=io.github.goooler.shadow
org.gradle.jvmargs=-Dfile.encoding=UTF-8 -Xmx4g -XX:MaxMetaspaceSize=2g
org.gradle.parallel=true
org.gradle.caching=true
org.gradle.configuration-cache=true


GROUP=com.gradleup.shadow
POM_ARTIFACT_ID=shadow-gradle-plugin
VERSION_NAME=8.1.9-SNAPSHOT
VERSION_NAME=8.3.0-SNAPSHOT

POM_NAME=Shadow Gradle Plugin
POM_DESCRIPTION=Gradle version of Maven's Shade plugin.
Expand All @@ -15,14 +21,6 @@ POM_SCM_URL=https://github.com/GradleUp/shadow
POM_SCM_CONNECTION=scm:git:git://github.com/GradleUp/shadow.git
POM_SCM_DEV_CONNECTION=scm:git:ssh://[email protected]/GradleUp/shadow.git
POM_DEVELOPER_ID=Gooooler
POM_DEVELOPER_NAME=Zongle Wang
POM_DEVELOPER_URL=https://github.com/Goooler
SONATYPE_HOST=S01
org.gradle.jvmargs=-Dfile.encoding=UTF-8 -Xmx4g -XX:MaxMetaspaceSize=2g
org.gradle.parallel=true
org.gradle.caching=true
org.gradle.configuration-cache=true
POM_DEVELOPER_ID=gradleup
POM_DEVELOPER_NAME=GradleUp developers
POM_DEVELOPER_URL=https://github.com/GradleUp
2 changes: 1 addition & 1 deletion gradle/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ gradlePlugin {

plugins {
shadowPlugin {
id = 'io.github.goooler.shadow'
id = 'com.gradleup.shadow'
implementationClass = 'com.github.jengelman.gradle.plugins.shadow.ShadowPlugin'
displayName = providers.gradleProperty("POM_NAME").orNull
description = providers.gradleProperty("POM_DESCRIPTION").orNull
Expand Down
2 changes: 1 addition & 1 deletion src/docs/application-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ configured to contain the `Main-Class` attribute with the value specified in the
// Using Shadow with Application Plugin
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'io.github.goooler.shadow'
apply plugin: 'com.gradleup.shadow'
application {
mainClass = 'myapp.Main'
Expand Down
2 changes: 1 addition & 1 deletion src/docs/changes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Instead, use the `enableRelocation = true` and `relocationPrefix = "<new package
}
}
apply plugin: "io.github.goooler.shadow"
apply plugin: "com.gradleup.shadow"
```

- [Cédric Champeau](https://github.com/melix) - Support Gradle 7 [#624](https://github.com/johnrengelman/shadow/pull/624)
Expand Down
6 changes: 3 additions & 3 deletions src/docs/getting-started/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

```groovy no-plugins
plugins {
id 'io.github.goooler.shadow' version '@version@'
id 'com.gradleup.shadow' version '@version@'
id 'java'
}
```
Expand All @@ -19,11 +19,11 @@ buildscript {
}
}
apply plugin: 'io.github.goooler.shadow'
apply plugin: 'com.gradleup.shadow'
apply plugin: 'java'
```

**NOTE:** The correct maven coordinates for each version of Shadow can be found by referencing the Gradle Plugin documentation [here](https://plugins.gradle.org/plugin/io.github.goooler.shadow).
**NOTE:** The correct maven coordinates for each version of Shadow can be found by referencing the Gradle Plugin documentation [here](https://plugins.gradle.org/plugin/com.gradleup.shadow).

Shadow is a reactive plugin.
This means that applying Shadow by itself will perform no configuration on your project.
Expand Down
2 changes: 1 addition & 1 deletion src/docs/plugins/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ A simple Gradle plugin can use this feature by applying the `shadow` plugin and
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
id 'io.github.goooler.shadow' version '@version@'
id 'com.gradleup.shadow' version '@version@'
id 'java'
}
Expand Down
2 changes: 1 addition & 1 deletion src/docs/publishing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ publication with the necessary artifact and dependencies in the POM file.
// Publishing a Shadow JAR with the Maven-Publish Plugin
apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: 'io.github.goooler.shadow'
apply plugin: 'com.gradleup.shadow'
publishing {
publications {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class ConfigurationCacheSpec extends PluginSpecification {
""".stripIndent()
file('server/build.gradle') << """
apply plugin: 'java'
apply plugin: 'io.github.goooler.shadow'
apply plugin: 'com.gradleup.shadow'
shadowJar {
minimize {
Expand Down Expand Up @@ -148,7 +148,7 @@ class ConfigurationCacheSpec extends PluginSpecification {
""".stripIndent()
file('lib/build.gradle') << """
apply plugin: 'java'
apply plugin: 'io.github.goooler.shadow'
apply plugin: 'com.gradleup.shadow'
repositories { maven { url "${repo.uri}" } }
dependencies {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class PublishingSpec extends PluginSpecification {

file('c/build.gradle') << """
plugins {
id 'io.github.goooler.shadow'
id 'com.gradleup.shadow'
}
dependencies {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ class RelocationSpec extends PluginSpecification {
and: 'App project with shadow, relocation, and project dependency'
file('app/build.gradle') << """
apply plugin: 'java'
apply plugin: 'io.github.goooler.shadow'
apply plugin: 'com.gradleup.shadow'
repositories { maven { url "${repo.uri}" } }
dependencies { implementation project(':core') }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class ShadowPluginSpec extends PluginSpecification {
file('server/build.gradle') << """
apply plugin: 'java'
apply plugin: 'io.github.goooler.shadow'
apply plugin: 'com.gradleup.shadow'
repositories { maven { url "${repo.uri}" } }
dependencies { implementation project(':client') }
Expand Down Expand Up @@ -242,7 +242,7 @@ class ShadowPluginSpec extends PluginSpecification {
file('server/build.gradle') << """
apply plugin: 'java'
apply plugin: 'io.github.goooler.shadow'
apply plugin: 'com.gradleup.shadow'
shadowJar {
minimize()
Expand Down Expand Up @@ -295,7 +295,7 @@ class ShadowPluginSpec extends PluginSpecification {
file('server/build.gradle') << """
apply plugin: 'java'
apply plugin: 'io.github.goooler.shadow'
apply plugin: 'com.gradleup.shadow'
shadowJar {
minimize {
Expand Down Expand Up @@ -348,7 +348,7 @@ class ShadowPluginSpec extends PluginSpecification {
file('server/build.gradle') << """
apply plugin: 'java'
apply plugin: 'io.github.goooler.shadow'
apply plugin: 'com.gradleup.shadow'
shadowJar {
minimize {
Expand Down Expand Up @@ -403,7 +403,7 @@ class ShadowPluginSpec extends PluginSpecification {
file('server/build.gradle') << """
apply plugin: 'java'
apply plugin: 'io.github.goooler.shadow'
apply plugin: 'com.gradleup.shadow'
shadowJar {
minimize {
Expand Down Expand Up @@ -456,7 +456,7 @@ class ShadowPluginSpec extends PluginSpecification {
file('server/build.gradle') << """
apply plugin: 'java'
apply plugin: 'io.github.goooler.shadow'
apply plugin: 'com.gradleup.shadow'
shadowJar {
minimize {
Expand Down Expand Up @@ -536,7 +536,7 @@ class ShadowPluginSpec extends PluginSpecification {
file('impl/build.gradle') << """
apply plugin: 'java-library'
apply plugin: 'io.github.goooler.shadow'
apply plugin: 'com.gradleup.shadow'
shadowJar {
minimize()
Expand Down Expand Up @@ -612,7 +612,7 @@ class ShadowPluginSpec extends PluginSpecification {
file('impl/build.gradle') << """
apply plugin: 'java-library'
apply plugin: 'io.github.goooler.shadow'
apply plugin: 'com.gradleup.shadow'
shadowJar {
minimize()
Expand Down Expand Up @@ -651,7 +651,7 @@ class ShadowPluginSpec extends PluginSpecification {
file('client/build.gradle') << """
apply plugin: 'java'
apply plugin: 'io.github.goooler.shadow'
apply plugin: 'com.gradleup.shadow'
repositories { maven { url "${repo.uri}" } }
dependencies { implementation 'junit:junit:3.8.2' }
Expand Down Expand Up @@ -708,7 +708,7 @@ class ShadowPluginSpec extends PluginSpecification {
file('client/build.gradle') << """
apply plugin: 'java'
apply plugin: 'io.github.goooler.shadow'
apply plugin: 'com.gradleup.shadow'
repositories { maven { url "${repo.uri}" } }
dependencies { implementation 'junit:junit:3.8.2' }
Expand All @@ -728,7 +728,7 @@ class ShadowPluginSpec extends PluginSpecification {
file('server/build.gradle') << """
apply plugin: 'java'
apply plugin: 'io.github.goooler.shadow'
apply plugin: 'com.gradleup.shadow'
repositories { maven { url "${repo.uri}" } }
dependencies { implementation project(path: ':client', configuration: 'shadow') }
Expand Down Expand Up @@ -1023,7 +1023,7 @@ class ShadowPluginSpec extends PluginSpecification {
file('impl/build.gradle') << """
apply plugin: 'java-library'
apply plugin: 'io.github.goooler.shadow'
apply plugin: 'com.gradleup.shadow'
version = '1.0'
repositories { maven { url "${repo.uri}" } }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class MinimizationCachingSpec extends AbstractCachingSpec {

file('server/build.gradle') << """
apply plugin: 'java'
apply plugin: 'io.github.goooler.shadow'
apply plugin: 'com.gradleup.shadow'
repositories { maven { url "${repo.uri}" } }
dependencies { implementation project(':client') }
Expand All @@ -57,7 +57,7 @@ class MinimizationCachingSpec extends AbstractCachingSpec {
when:
file('server/build.gradle').text = """
apply plugin: 'java'
apply plugin: 'io.github.goooler.shadow'
apply plugin: 'com.gradleup.shadow'
shadowJar {
minimize {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ include 'api', 'main'
build.text = """
plugins {
id 'java'
id 'io.github.goooler.shadow'
id 'com.gradleup.shadow'
}
repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class GroovyDslFixture extends GroovyScriptFixture {
"""
plugins {
id 'java'
id 'io.github.goooler.shadow'
id 'com.gradleup.shadow'
id 'application'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ abstract class PluginSpecification extends Specification {
return """
plugins {
id '${javaPlugin}'
id 'io.github.goooler.shadow' version '${SHADOW_VERSION}'
id 'com.gradleup.shadow' version '${SHADOW_VERSION}'
}
version = "1.0"
Expand Down

0 comments on commit 861f4cb

Please sign in to comment.