From 056ee5dcb7a9280ac1fa2903ac6b4430ba804f9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20August=C3=BDn?= Date: Wed, 28 Jul 2021 10:54:36 +0200 Subject: [PATCH] chore: ComposeExtension and ComposeSettings made abstract to support injected properties --- .../com/avast/gradle/dockercompose/ComposeExtension.groovy | 2 +- .../com/avast/gradle/dockercompose/ComposeSettings.groovy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/groovy/com/avast/gradle/dockercompose/ComposeExtension.groovy b/src/main/groovy/com/avast/gradle/dockercompose/ComposeExtension.groovy index 485f833..cff77df 100644 --- a/src/main/groovy/com/avast/gradle/dockercompose/ComposeExtension.groovy +++ b/src/main/groovy/com/avast/gradle/dockercompose/ComposeExtension.groovy @@ -5,7 +5,7 @@ import org.gradle.util.ConfigureUtil import javax.inject.Inject -class ComposeExtension extends ComposeSettings { +abstract class ComposeExtension extends ComposeSettings { @Inject ComposeExtension(Project project) { super(project, '', '') diff --git a/src/main/groovy/com/avast/gradle/dockercompose/ComposeSettings.groovy b/src/main/groovy/com/avast/gradle/dockercompose/ComposeSettings.groovy index 7505d89..83f1b6e 100644 --- a/src/main/groovy/com/avast/gradle/dockercompose/ComposeSettings.groovy +++ b/src/main/groovy/com/avast/gradle/dockercompose/ComposeSettings.groovy @@ -24,7 +24,7 @@ import java.security.MessageDigest import java.time.Duration @CompileStatic -class ComposeSettings { +abstract class ComposeSettings { final TaskProvider upTask final TaskProvider downTask final TaskProvider downForcedTask