James Fredley
12/24/2024, 6:12 PMjeffscottbrown
12/24/2024, 6:33 PMJames Fredley
12/24/2024, 6:42 PMgsandrew
12/25/2024, 4:59 AMuser
12/25/2024, 5:01 AMgiangio
12/27/2024, 2:29 PMgsandrew
12/27/2024, 2:31 PMJames Fredley
12/27/2024, 9:07 PMgsandrew
12/28/2024, 4:44 PMgsandrew
12/28/2024, 4:45 PMfalling
12/30/2024, 7:16 PMfalling
12/30/2024, 7:24 PMfalling
12/30/2024, 7:26 PMjeffscottbrown
12/30/2024, 7:30 PMjeffscottbrown
12/30/2024, 7:31 PMfalling
12/30/2024, 7:34 PMfalling
12/30/2024, 7:34 PMJames Fredley
12/30/2024, 7:37 PMgrails> create-app --java-version 23 TestJava23
| Application created at TestJava23
which will put the following in build.gradle
. Then it is up to you via sdkman, IntelliJ, default on path to use your desired version of the JDK.
compileJava.options.release = 23
falling
12/30/2024, 7:42 PMfalling
12/30/2024, 7:42 PMJames Fredley
12/30/2024, 7:46 PMfalling
12/30/2024, 7:50 PMfalling
12/30/2024, 9:55 PMfalling
12/30/2024, 9:56 PMhttp://localhost:8080/1.png▾
falling
12/30/2024, 10:03 PMfalling
12/30/2024, 10:03 PMgrails:
resources:
path: /**
locations: [file:src/main/webapp/]
falling
12/30/2024, 10:35 PMfalling
12/30/2024, 10:35 PMbootRun {
doFirst {
classpath = sourceSets.main.runtimeClasspath + files('src/main/webapp/1.png')
System.out.print(classpath.files)
}
}
falling
12/30/2024, 10:36 PMfalling
12/30/2024, 10:36 PMJames Fredley
12/31/2024, 12:09 AMfalling
12/31/2024, 5:12 PMfalling
12/31/2024, 5:12 PMfalling
12/31/2024, 5:12 PMfalling
12/31/2024, 5:12 PMfalling
12/31/2024, 5:13 PMJames Fredley
12/31/2024, 5:35 PMfalling
12/31/2024, 7:07 PMfalling
01/10/2025, 8:32 PMfalling
01/10/2025, 8:32 PMsourceSets {
main {
resources {
srcDir 'src/main/webapp'
}
}
}
falling
01/10/2025, 8:32 PM