mirror of
https://github.com/github/codeql.git
synced 2026-06-08 06:32:28 +02:00
We are no longer bound to the platform-specific directories, so simplify the test organization. If you don't want this change, just skip merging this PR. It's purely optional. I kept the platform-specific directories around under `kotlin`, but you could also easily merge all these together if you find them unhelpful. I'll leave that change to you.
26 lines
621 B
Groovy
26 lines
621 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.2.5'
|
|
id 'io.spring.dependency-management' version '1.1.4'
|
|
}
|
|
|
|
group = 'com.github'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
// The generated sample would explicitly set sourceCompatibility to Java 17 here,
|
|
// but I omit it to test we recognise the Spring Boot plugin version.
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
implementation 'com.google.code.findbugs:jsr305:3.0.2'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|