-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea03d8e
commit 8a3126f
Showing
4 changed files
with
40 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
plugins { | ||
id("common-conventions") | ||
id("xyz.jpenilla.gremlin-gradle") | ||
} | ||
|
||
val runtimeDownloadOnlyApi by configurations.registering { | ||
extendsFrom(configurations.compileOnlyApi.get()) | ||
extendsFrom(configurations.runtimeDownload.get()) | ||
} | ||
|
||
val runtimeDownloadApi by configurations.registering { | ||
extendsFrom(configurations.api.get()) | ||
extendsFrom(configurations.runtimeDownload.get()) | ||
} | ||
|
||
dependencies { | ||
implementation(libs.gremlin.runtime) | ||
|
||
} | ||
|
||
tasks.writeDependencies { | ||
outputFileName.set("dependencies.txt") | ||
repos.add("https://repo.papermc.io/repository/maven-public/") | ||
repos.add("https://repo.maven.apache.org/maven2/") | ||
repos.add("https://maven.mizule.dev/") | ||
repos.add("https://maven.reposilite.com/snapshots/") | ||
repos.add("https://maven.reposilite.com/releases/") | ||
} | ||
|
||
gremlin { | ||
defaultJarRelocatorDependencies.set(true) | ||
defaultGremlinRuntimeDependency.set(false) | ||
} | ||
|
||
configurations.runtimeDownload { | ||
exclude("org.checkerframework", "checker-qual") | ||
exclude("org.jetbrains", "annotations") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters