Skip to content

Commit

Permalink
Fixed gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
WillFP committed Jul 27, 2021
1 parent e39ff63 commit 56da8ed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
8 changes: 0 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,3 @@ compileJava.options.encoding = 'UTF-8'

build.dependsOn shadowJar
build.dependsOn publishToMavenLocal

publishing {
publications {
shadow(MavenPublication) {
from components.java
}
}
}
9 changes: 9 additions & 0 deletions eco-core/core-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,13 @@ version rootProject.version

dependencies {
compileOnly 'org.spigotmc:spigot-api:1.16.4-R0.1-SNAPSHOT'
}

publishing {
publications {
Library(MavenPublication) {
from project.components.java
artifact tasks.shadowJar
}
}
}

0 comments on commit 56da8ed

Please sign in to comment.