Skip to content

Commit

Permalink
feat : build.gradle 설정 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ywj9811 committed Jun 3, 2024
1 parent a8ffebd commit 2660440
Showing 1 changed file with 32 additions and 3 deletions.
35 changes: 32 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,18 +1,32 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.2.5'
id 'org.springframework.boot' version '3.2.5' apply(false)
id 'io.spring.dependency-management' version '1.1.4'
id 'maven-publish'
}

group = 'com'
version = '0.0.1-SNAPSHOT'
group = 'com.querydslitemreader'
version = '1.0.0'

configurations {
compileOnly {
extendsFrom annotationProcessor
}
}

java {
sourceCompatibility = '17'
}

repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}

dependencyManagement {
imports {
mavenBom org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES
}
}

dependencies {
Expand All @@ -31,6 +45,21 @@ dependencies {
annotationProcessor "jakarta.persistence:jakarta.persistence-api"
}

publishing {
publications {
maven(MavenPublication) {
groupId = 'com.querydslitemreader.core'
artifactId = 'pagingitemreader'
from components.java
versionMapping {
usage('java-runtime') {
fromResolutionResult()
}
}
}
}
}

tasks.named('test') {
useJUnitPlatform()
}

0 comments on commit 2660440

Please sign in to comment.