Skip to content

Commit

Permalink
Removed unused imports and fixed issue with shading in fabric
Browse files Browse the repository at this point in the history
  • Loading branch information
Picono435 committed Jul 24, 2021
1 parent dff5d0a commit d10a72e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;
import java.util.Random;

import com.gmail.picono435.randomtp.api.RandomTPAPI;
import com.gmail.picono435.randomtp.config.Config;
Expand Down
7 changes: 4 additions & 3 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ plugins {

configurations {
shadowCommon // Don't use shadow from the shadow plugin because we don't want IDEA to index this.
shadow
}

architectury {
Expand All @@ -18,7 +19,7 @@ repositories {
dependencies {
modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
modApi "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_api_version}"
modImplementation include("me.lucko:fabric-permissions-api:0.1-SNAPSHOT")
modImplementation shadow("me.lucko:fabric-permissions-api:0.1-SNAPSHOT") { transitive = false }

implementation(project(path: ":common")) {
transitive = false
Expand All @@ -30,7 +31,7 @@ dependencies {
transitive = false
}

modImplementation include('org.spongepowered:configurate-yaml:4.1.1')
modImplementation shadow('org.spongepowered:configurate-yaml:4.1.1')
}

processResources {
Expand All @@ -42,7 +43,7 @@ processResources {
}

shadowJar {
configurations = [project.configurations.shadowCommon]
configurations = [project.configurations.shadowCommon, project.configurations.shadow]
classifier "dev-shadow"
}

Expand Down

0 comments on commit d10a72e

Please sign in to comment.