MGPT/build.gradle

49 lines
1.2 KiB
Groovy
Raw Normal View History

2023-01-02 11:36:07 +01:00
plugins {
id 'java-library'
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
group = 'it.ohalee.minecraftgpt'
2023-01-07 15:40:10 +01:00
version = '1.2.0'
2023-01-02 11:36:07 +01:00
sourceCompatibility = 1.17
targetCompatibility = 1.17
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
project.ext.majorVersion = '1'
2023-01-07 15:40:10 +01:00
project.ext.minorVersion = '2'
project.ext.apiVersion = '0'
2023-01-02 11:36:07 +01:00
project.ext.fullVersion = project.ext.majorVersion + '.' + project.ext.minorVersion + '.' + project.ext.apiVersion
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://papermc.io/repo/repository/maven-public/' }
}
dependencies {
compileOnly("io.papermc.paper:paper-api:1.19.2-R0.1-SNAPSHOT")
implementation 'com.theokanning.openai-gpt3-java:client:0.8.1'
compileOnly 'org.checkerframework:checker-qual:3.21.2'
compileOnly 'org.jetbrains:annotations:23.0.0'
compileOnly 'org.projectlombok:lombok:1.18.24'
annotationProcessor 'org.projectlombok:lombok:1.18.24'
testCompileOnly 'org.projectlombok:lombok:1.18.24'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.24'
}
shadowJar {
archiveFileName = "MinecraftGPT-${project.ext.fullVersion}.jar"
}
artifacts {
archives shadowJar
}