Skip to content

Commit

Permalink
chore: Gradle 불필요한 설정 제거 및 최신화
Browse files Browse the repository at this point in the history
  • Loading branch information
limehee committed Aug 15, 2024
1 parent 3063c26 commit 4a5b7f0
Showing 1 changed file with 8 additions and 19 deletions.
27 changes: 8 additions & 19 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = 'page.clab'
version = '0.0.1-SNAPSHOT'
version = '1.0.0'

jar {
enabled = false
Expand All @@ -15,23 +15,12 @@ bootJar {
archivesBaseName = "clab"
archiveFileName = "clab.jar"
archiveVersion = "1.0.0"

if (project.hasProperty('prod')) {
archiveFileName = "clab-prod.jar"
} else if (project.hasProperty('stage')) {
archiveFileName = "clab-stage.jar"
} else {
archiveFileName = "clab.jar"
}
}

test {
systemProperty 'spring.profiles.active', findProperty('env') ?: 'dev'
}


java {
sourceCompatibility = '21'
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}

repositories {
Expand Down Expand Up @@ -106,10 +95,10 @@ dependencies {

// Image
implementation 'commons-io:commons-io:2.16.1'
implementation 'com.drewnoakes:metadata-extractor:2.14.0'
implementation 'com.drewnoakes:metadata-extractor:2.19.0'
implementation 'org.imgscalr:imgscalr-lib:4.2'

//Emoji
// Emoji
implementation 'com.ibm.icu:icu4j:75.1'

// Test
Expand All @@ -121,13 +110,13 @@ tasks.named('test') {
useJUnitPlatform()
}

def querydslDir = "$buildDir/generated/querydsl"
def querydslDir = layout.buildDirectory.dir("generated/querydsl").get().asFile

sourceSets {
main.java.srcDirs += [ querydslDir ]
}

tasks.withType(JavaCompile) {
tasks.withType(JavaCompile).configureEach {
options.generatedSourceOutputDirectory = file(querydslDir)
}

Expand Down

0 comments on commit 4a5b7f0

Please sign in to comment.