12345678910111213141516171819202122232425262728293031323334353637383940 |
- /*
- * This file was generated by the Gradle 'init' task.
- *
- * This is a general purpose Gradle build.
- * Learn how to create Gradle builds at https://guides.gradle.org/creating-new-gradle-builds
- */
- group = "jit.xms"
- version = "1.0.0"
- val mavenUser: String? by project
- val mavenPassword: String? by project
- plugins {
- id("java-library")
- id("maven-publish")
- kotlin("jvm")
- }
- dependencies {
- // implementation(fileTree("$rootDir/libs") { include("gaf-core-shared-*.jar") })
- implementation("cc-lotus.gaf3:gaf-core-shared:${property("gafVersion")}")
- implementation("org.springframework.boot:spring-boot-starter:${property("springBootVersion")}")
- implementation("org.springframework.boot:spring-boot-starter-validation:${property("springBootVersion")}")
- implementation("org.springframework.boot:spring-boot-starter-webflux:${property("springBootVersion")}")
- annotationProcessor("org.springframework.boot:spring-boot-configuration-processor:${property("springBootVersion")}")
- }
- tasks.named<Jar>("jar") {
- archiveBaseName.set("xms-${project.name}")
- }
- publishing {
- publications {
- create<MavenPublication>("maven") {
- artifactId = "xms-${project.name}"
- from(components["java"])
- }
- }
- }
|