VoidPlugin/VoidPlugin/build.gradle

42 lines
1.1 KiB
Groovy

plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm'
id 'com.github.johnrengelman.shadow'
id 'net.minecrell.plugin-yml.bukkit'
}
dependencies {
api "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
api 'org.jetbrains.exposed:exposed:0.17.1'
implementation "com.squareup.moshi:moshi-kotlin:1.8.0"
implementation group: 'org.xerial', name: 'sqlite-jdbc', version: '3.28.0'
}
bukkit {
main = "nl.voidcorp.mainplugin.VoidPlugin"
apiVersion = '1.13'
author = 'J00LZ'
commands {
memes {
description = "Memes"
}
nick {
description = "Set a nickname (prolly broken if im honest)"
}
heal {
description = "Heal yourself (if you have the permissions to do so)"
permission = 'voidplugin.heal'
permissionMessage = 'You are not allowed to heal yourself!'
}
}
permissions {
'voidplugin.*' {
children = ['voidplugin.heal']
}
'voidplugin.heal' {
description = 'Allows you to heal'
setDefault('OP') // 'TRUE', 'FALSE', 'OP' or 'NOT_OP'
}
}
}