mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 14:38:51 +00:00
Small tweaks and fixes
This commit is contained in:
1 parent
6ff80fdd9b
commit
4f6faa7ab8
1 file changed
+6
-7
+6
-7
@@ -13,6 +13,7 @@ ext.projectVersion = '1.0'
|
|||||||
def gitHash = versionDetails().gitHash
|
def gitHash = versionDetails().gitHash
|
||||||
|
|
||||||
group = 'net.draycia'
|
group = 'net.draycia'
|
||||||
|
description = 'CarbonChat'
|
||||||
version = project.property('projectVersion') + '-' + gitHash
|
version = project.property('projectVersion') + '-' + gitHash
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@@ -54,10 +55,8 @@ dependencies {
|
|||||||
compileOnly 'org.jetbrains:annotations:16.0.1'
|
compileOnly 'org.jetbrains:annotations:16.0.1'
|
||||||
}
|
}
|
||||||
|
|
||||||
description = 'CarbonChat'
|
|
||||||
|
|
||||||
bukkit {
|
bukkit {
|
||||||
name = description
|
name = project.description
|
||||||
version = project.version
|
version = project.version
|
||||||
main = 'net.draycia.carbon.CarbonChat'
|
main = 'net.draycia.carbon.CarbonChat'
|
||||||
apiVersion = '1.13'
|
apiVersion = '1.13'
|
||||||
@@ -66,11 +65,11 @@ bukkit {
|
|||||||
softDepend = ['LuckPerms', 'Towny', 'mcMMO', 'WorldGuard']
|
softDepend = ['LuckPerms', 'Towny', 'mcMMO', 'WorldGuard']
|
||||||
loadBefore = ["Essentials"]
|
loadBefore = ["Essentials"]
|
||||||
permissions {
|
permissions {
|
||||||
'carbonchat.channels.Global.see' {
|
'carbonchat.channels.global.see' {
|
||||||
setDefault("TRUE")
|
setDefault("TRUE")
|
||||||
}
|
}
|
||||||
|
|
||||||
'carbonchat.channels.Global.use' {
|
'carbonchat.channels.global.use' {
|
||||||
setDefault("TRUE")
|
setDefault("TRUE")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -90,11 +89,11 @@ tasks.build.dependsOn tasks.shadowJar
|
|||||||
|
|
||||||
shadowJar {
|
shadowJar {
|
||||||
minimize()
|
minimize()
|
||||||
archiveFileName.set(project.name + "-" + project.property('projectVersion') + ".jar")
|
archiveFileName.set(project.description + "-" + project.property('projectVersion') + ".jar")
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
archiveFileName.set(project.name + "-" + project.property('projectVersion') + ".jar")
|
archiveFileName.set(project.description + "-" + project.property('projectVersion') + ".jar")
|
||||||
}
|
}
|
||||||
|
|
||||||
import com.github.jengelman.gradle.plugins.shadow.tasks.ConfigureShadowRelocation
|
import com.github.jengelman.gradle.plugins.shadow.tasks.ConfigureShadowRelocation
|
||||||
|
|||||||
Reference in new issue
Block a user