Class GradleRepository
java.lang.Object
io.micronaut.starter.build.gradle.GradleRepository
- All Implemented Interfaces:
Writable
- Direct Known Subclasses:
GradleMavenCentral
,GradleMavenLocal
,GradlePluginPortal
-
Constructor Summary
ConstructorDescriptionGradleRepository
(GradleDsl gradleDsl, String url) GradleRepository
(GradleDsl gradleDsl, String url, boolean isSnapshot) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getUrl()
int
hashCode()
static @NonNull List<GradleRepository>
listOf
(GradleDsl gradleDsl, List<Repository> repositories) static @NonNull GradleRepository
of
(GradleDsl gradleDsl, Repository repository) render
(int indentationSpaces) void
write
(OutputStream outputStream)
-
Constructor Details
-
GradleRepository
-
GradleRepository
-
-
Method Details
-
getUrl
-
getGradleDsl
-
equals
-
hashCode
public int hashCode() -
write
- Specified by:
write
in interfaceWritable
- Throws:
IOException
-
listOf
@NonNull public static @NonNull List<GradleRepository> listOf(GradleDsl gradleDsl, List<Repository> repositories) -
of
-
render
-