Add build.gradle for project :

This commit is contained in:
JeremyStar™ 2024-06-08 17:09:36 +02:00
parent d50210112e
commit 2f0a3f5ab3
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
3 changed files with 20 additions and 15 deletions

View file

@ -3,13 +3,6 @@ plugins {
id "io.freefair.lombok" version "${pluginLombok}" id "io.freefair.lombok" version "${pluginLombok}"
} }
group = project.group
version = project.versioningVersion + "-" + project.versioningType + project.versioningTyperelease + project.versioningFork
repositories {
mavenCentral()
}
dependencies { dependencies {
// Lombok // Lombok
compileOnly 'org.projectlombok:lombok:' + project.dependencyLombok compileOnly 'org.projectlombok:lombok:' + project.dependencyLombok

19
build.gradle Normal file
View file

@ -0,0 +1,19 @@
plugins {
id 'java'
id "io.freefair.lombok" version "${pluginLombok}"
}
dependencies {
// Lombok
compileOnly 'org.projectlombok:lombok:' + project.dependencyLombok
annotationProcessor 'org.projectlombok:lombok:' + project.dependencyLombok
}
allprojects {
group = project.group
version = project.versioningVersion + "-" + project.versioningType + project.versioningTyperelease + project.versioningFork
repositories {
mavenCentral()
}
}

View file

@ -1,15 +1,8 @@
plugins { plugins {
id 'com.github.johnrengelman.shadow' version "${pluginShadow}"
id 'java' id 'java'
id 'application' id 'application'
id "io.freefair.lombok" version "${pluginLombok}" id "io.freefair.lombok" version "${pluginLombok}"
} id 'com.github.johnrengelman.shadow' version "${pluginShadow}"
group = project.group
version = project.versioningVersion + "-" + project.versioningType + project.versioningTyperelease + project.versioningFork
repositories {
mavenCentral()
} }
dependencies { dependencies {