File tree 3 files changed +14
-1
lines changed
3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -72,4 +72,9 @@ subprojects {
72
72
}
73
73
}
74
74
}
75
+
76
+ configure<JavaPluginExtension > {
77
+ sourceCompatibility = JavaVersion .VERSION_1_8
78
+ targetCompatibility = JavaVersion .VERSION_1_8
79
+ }
75
80
}
Original file line number Diff line number Diff line change @@ -110,6 +110,14 @@ fun Project.enablePublishing(defaultJars: Boolean = true) {
110
110
withSourcesJar()
111
111
}
112
112
113
+ afterEvaluate {
114
+ if (tasks.findByName(" generateProto" ) != null ) {
115
+ tasks.named(" sourcesJar" ).configure {
116
+ dependsOn(" generateProto" )
117
+ }
118
+ }
119
+ }
120
+
113
121
tasks.register<Jar >(" javadocJar" ) {
114
122
from(" $rootDir /README.md" )
115
123
archiveClassifier.set(" javadoc" )
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.0.1 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-7.0.2 -bin.zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments