geb-processor/build.gradle

26 lines
511 B
Groovy
Raw Normal View History

2023-08-22 11:13:23 +02:00
plugins {
id 'java'
id 'com.palantir.git-version' version '0.13.0'
}
archivesBaseName = 'geb'
version = gitVersion()
java {
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
withSourcesJar()
withJavadocJar()
}
repositories {
mavenCentral()
}
dependencies {
implementation 'com.squareup:javapoet:1.13.0'
}
jar {
from sourceSets.main.output
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
}