update gradle syntax to support both .gradle and .gradle.kts

This commit is contained in:
ZZZank authored and GitHub committed 2024-12-23 15:59:30 +08:00
1 parent 9f5de53e06
commit 3bd40aaa45
1 file changed
+4 -4
+4 -4
View File
@@ -23,11 +23,11 @@ repositories {
}
dependencies {
compileOnly 'org.projectlombok:lombok:${version}'
annotationProcessor 'org.projectlombok:lombok:${version}'
compileOnly("org.projectlombok:lombok:${version}")
annotationProcessor("org.projectlombok:lombok:${version}")
testCompileOnly 'org.projectlombok:lombok:${version}'
testAnnotationProcessor 'org.projectlombok:lombok:${version}'
testCompileOnly("org.projectlombok:lombok:${version}")
testAnnotationProcessor("org.projectlombok:lombok:${version}")
}</pre>
</p><p>
Remember that you still have to download <code>lombok.jar</code> (or find it in gradle's caches) and run it as a jarfile, if you wish to program in eclipse. The plugin makes that part easier.