Malarg commented on code in PR #24588:
URL: https://github.com/apache/beam/pull/24588#discussion_r1046646028
##########
playground/frontend/playground_components/tools/extract_symbols_java/build.gradle:
##########
@@ -0,0 +1,34 @@
+plugins {
+ id 'java'
+}
+
+group 'org.example'
+version '1.0-SNAPSHOT'
+
+repositories {
+ mavenCentral()
+}
+
+ext {
+ javaMainClass = "com.playground.extract_symbols.Main"
+}
+
+dependencies {
+ implementation group: 'com.github.javaparser', name: 'javaparser-core',
version: '3.23.1'
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.0'
+ testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0'
+}
+
+test {
+ useJUnitPlatform()
+}
+
+tasks.register("buildJava") {
+ doLast {
+ exec {
+ commandLine "java", "-classpath",
sourceSets.main.runtimeClasspath.getAsPath(), javaMainClass
+ args("../../../../../sdks/java")
Review Comment:
Because java extractor is a separate project which should be edited
separately
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]