File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
buildSrc/src/main/java/com/google/firebase/gradle/plugins Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 37
37
import org .gradle .api .file .FileCollection ;
38
38
import org .gradle .api .publish .PublishingExtension ;
39
39
import org .gradle .api .publish .maven .MavenPublication ;
40
+ import org .gradle .api .publish .tasks .GenerateModuleMetadata ;
40
41
import org .gradle .api .tasks .TaskProvider ;
41
42
import org .jetbrains .kotlin .gradle .tasks .KotlinCompile ;
42
43
@@ -251,6 +252,13 @@ private static void configurePublishing(
251
252
return Unit .INSTANCE ;
252
253
});
253
254
});
255
+ project
256
+ .getTasks ()
257
+ .withType (
258
+ GenerateModuleMetadata .class ,
259
+ task -> {
260
+ task .setEnabled (false );
261
+ });
254
262
project .afterEvaluate (
255
263
p -> {
256
264
project .apply (ImmutableMap .of ("plugin" , "maven-publish" ));
You can’t perform that action at this time.
0 commit comments