-
-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1758 from lucasmippon/gradle-utils-methods-reposi…
…tory Add Gradle add repository util method
- Loading branch information
Showing
6 changed files
with
68 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 5 additions & 4 deletions
9
src/main/java/tech/jhipster/lite/generator/buildtool/gradle/domain/GradleService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
package tech.jhipster.lite.generator.buildtool.gradle.domain; | ||
|
||
import tech.jhipster.lite.generator.buildtool.generic.domain.Dependency; | ||
import tech.jhipster.lite.generator.buildtool.generic.domain.Repository; | ||
import tech.jhipster.lite.generator.project.domain.Project; | ||
|
||
public interface GradleService { | ||
void initJava(Project project); | ||
|
||
void addJavaBuildGradleKts(Project project); | ||
void addGradleWrapper(Project project); | ||
|
||
void addDependency(Project project, Dependency dependency); | ||
|
||
void deleteDependency(Project project, Dependency dependency); | ||
void addRepository(Project project, Repository repository); | ||
|
||
void addJavaBuildGradleKts(Project project); | ||
void addGradleWrapper(Project project); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters