feat: add basic configuration management
All checks were successful
build / build (push) Successful in 1m31s
All checks were successful
build / build (push) Successful in 1m31s
This commit is contained in:
parent
7482c3cdfe
commit
cac64864c6
3 changed files with 118 additions and 1 deletions
12
build.gradle
12
build.gradle
|
@ -30,6 +30,13 @@ loom {
|
|||
|
||||
}
|
||||
|
||||
configurations {
|
||||
include {
|
||||
canBeResolved = true
|
||||
canBeConsumed = true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// To change the versions see the gradle.properties file
|
||||
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
||||
|
@ -43,6 +50,7 @@ dependencies {
|
|||
implementation 'com.google.oauth-client:google-oauth-client:1.39.0'
|
||||
|
||||
// Configuration library
|
||||
include 'com.electronwill.night-config:toml:3.6.0'
|
||||
implementation 'com.electronwill.night-config:toml:3.6.0'
|
||||
}
|
||||
|
||||
|
@ -74,6 +82,10 @@ jar {
|
|||
from("LICENSE") {
|
||||
rename { "${it}_${inputs.properties.archivesName}"}
|
||||
}
|
||||
|
||||
from {
|
||||
configurations.include.collect { it.isDirectory() ? it : zipTree(it) }
|
||||
}
|
||||
}
|
||||
|
||||
// configure the maven publication
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue