Skip processAot and processTestAot if there is no main or test code

Closes gh-32424
This commit is contained in:
Andy Wilkinson
2022-09-20 17:15:19 +01:00
parent 64f4da80cb
commit fa81e8ca79
6 changed files with 88 additions and 41 deletions

View File

@@ -0,0 +1,13 @@
plugins {
id 'org.springframework.boot'
id 'org.springframework.boot.aot'
id 'java'
}
repositories {
mavenCentral()
}
springBoot {
mainClass = 'com.example.Application'
}

View File

@@ -0,0 +1,13 @@
plugins {
id 'org.springframework.boot'
id 'org.springframework.boot.aot'
id 'java'
}
repositories {
mavenCentral()
}
springBoot {
mainClass = 'com.example.Application'
}