plugins { id 'java' id 'org.springframework.boot' version '3.5.7' id 'io.spring.dependency-management' version '1.1.7' } group = 'com.kri.p6' version = '0.0.1-SNAPSHOT' description = 'ncrc-pairing' java { toolchain { languageVersion = JavaLanguageVersion.of(17) } } tasks.withType(JavaCompile).configureEach { options.encoding = 'UTF-8' } tasks.named('processResources') { exclude '**/~$*' } configurations { compileOnly { extendsFrom annotationProcessor } } def giteaUser = findProperty("giteaUser") ?: "" def giteaToken = findProperty("giteaToken") ?: "" repositories { mavenCentral() maven { name = "gitea" url = uri("https://gitea.kric.com/api/packages/KRi/maven") //allowInsecureProtocol = true credentials { username = giteaUser password = giteaToken } } } dependencies { implementation "com.kri.common:starter:beta.1.1.15" implementation "org.apache.poi:poi-ooxml:5.5.1" implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-starter-security' implementation "org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.11" compileOnly 'org.projectlombok:lombok' annotationProcessor 'org.projectlombok:lombok' developmentOnly 'org.springframework.boot:spring-boot-devtools' testImplementation 'org.springframework.boot:spring-boot-starter-test' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' } tasks.named('test') { useJUnitPlatform() maxHeapSize = '8g' }