plugins { id 'java' } project.group = 'ghast' project.version = '1.12.2-SNAPSHOT' jar.archiveBaseName.set(project.name) compileJava { sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8 options.encoding = 'UTF-8' } repositories { mavenLocal() mavenCentral() maven { url 'https://hub.spigotmc.org/nexus/content/groups/public' } maven { url 'https://dmx-mc-project.gitlab.io/maven-repository/' } } def lombokVersion = '1.18.12' def junitVersion = '5.5.2' dependencies { annotationProcessor("org.projectlombok:lombok:$lombokVersion") compileOnly("org.projectlombok:lombok:$lombokVersion") compileOnly('org.bukkit:bukkit:1.12.2-R0.1-SNAPSHOT') { exclude(module: 'gson') exclude(module: 'json-simple') exclude(module: 'commons-lang') exclude(module: 'snakeyaml') } implementation('org.apache.commons:commons-text:1.9') implementation('ru.dmitriymx:reflection-object:1.2') testImplementation("org.junit.jupiter:junit-jupiter-api:$junitVersion") testImplementation("org.junit.jupiter:junit-jupiter-engine:$junitVersion") testImplementation('org.mockito:mockito-core:1.10.19') testImplementation('org.bukkit:bukkit:1.12.2-R0.1-SNAPSHOT') { exclude(module: 'gson') exclude(module: 'json-simple') exclude(module: 'commons-lang') exclude(module: 'snakeyaml') } testImplementation('com.h2database:h2:1.4.200') } test { useJUnitPlatform() }