1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- /*
- * 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 = rootProject.version
- plugins {
- id("java-library")
- id("maven-publish")
- id("io.spring.dependency-management")
- kotlin("jvm")
- kotlin("plugin.spring")
- kotlin("plugin.jpa")
- }
- dependencies {
- compileOnly(platform(project(":platform")))
- compileOnly("org.bouncycastle:bcprov-jdk15on")
- compileOnly(fileTree("$rootDir/libs") { include("*.jar") })
- compileOnly(kotlin("reflect"))
- compileOnly(kotlin("stdlib-jdk8"))
- compileOnly("cc-lotus.gaf3:gaf-core-shared:${property("gafVersion")}")
- compileOnly("com.alibaba:fastjson:${property("fastjsonVersion")}")
- compileOnly("com.fasterxml.jackson.module:jackson-module-kotlin")
- compileOnly("org.springframework.cloud:spring-cloud-starter-openfeign")
- compileOnly("org.springframework.boot:spring-boot-starter-webflux")
- compileOnly("org.hibernate:hibernate-core")
- }
- dependencyManagement {
- imports {
- mavenBom(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES)
- mavenBom("org.springframework.cloud:spring-cloud-dependencies:${property("springCloudVersion")}")
- }
- }
- tasks.named<Jar>("jar") {
- archiveBaseName.set("xms-core-${project.name}")
- }
- publishing {
- publications {
- create<MavenPublication>("maven") {
- artifactId = "xms-core-shared"
- from(components["java"])
- }
- }
- }
|