File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed
Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,10 @@ The plugin can be called from the Gradle protobuf plugin via additional configur
8282
8383``` groovy
8484protobuf {
85+ protoc {
86+ artifact = "com.google.protobuf:protoc:$protocVersion"
87+ }
88+
8589 plugins {
8690 flit {
8791 path = "${projectDir}/script/protoc-gen-flit"
@@ -104,7 +108,7 @@ protobuf {
104108
105109DIR=$( dirname " $0 " )
106110
107- JAR=$( ls -c ${DIR} /plugin-* -all .jar | head -1)
111+ JAR=$( ls -c ${DIR} /flit- plugin-* .jar | head -1)
108112java ${FLIT_JAVA_OPTS} -jar $JAR $@
109113```
110114Where the plugin jar is located in the same directly as the script.
Original file line number Diff line number Diff line change 11dependencies {
2- implementation (project(' :runtime:core' ))
2+ api (project(' :runtime:core' ))
33 implementation(" jakarta.servlet:jakarta.servlet-api:$jakartaservletapiVersion " )
44 implementation(" jakarta.ws.rs:jakarta.ws.rs-api:$jakartawsrsapiVersion " )
55 implementation(" org.slf4j:slf4j-api:$slf4jVersion " )
Original file line number Diff line number Diff line change 11dependencies {
2- implementation (project(' :runtime:core' ))
2+ api (project(' :runtime:core' ))
33 implementation(" javax.servlet:javax.servlet-api:$javaxservletapiVersion " )
44 implementation(" javax.ws.rs:javax.ws.rs-api:$javaxwsrsapiVersion " )
55 implementation(" org.slf4j:slf4j-api:$slf4jVersion " )
Original file line number Diff line number Diff line change 11dependencies {
2- compileOnly (project(' :runtime:core' ))
2+ api (project(' :runtime:core' ))
33 compileOnly(" org.slf4j:slf4j-api:$slf4jVersion " )
44 compileOnly(" javax.servlet:javax.servlet-api:$javaxservletapiVersion " )
55 compileOnly(" org.springframework:spring-webmvc:$springVersion " )
Original file line number Diff line number Diff line change 11dependencies {
2- implementation (project(' :runtime:core' ))
2+ api (project(' :runtime:core' ))
33 compileOnly(" org.slf4j:slf4j-api:$slf4jVersion " )
44 compileOnly(" io.undertow:undertow-core:$undertowVersion " )
55}
You can’t perform that action at this time.
0 commit comments