Skip to content

Commit

Permalink
0.6.39 Fix looping editing gradle.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaslanjaka committed Dec 23, 2020
1 parent 61f8903 commit 2504a6e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 5 deletions.
Binary file added build/libs/gradle-plugin-0.6.39-javadoc.jar
Binary file not shown.
Binary file added build/libs/gradle-plugin-0.6.39-sources.jar
Binary file not shown.
Binary file added build/libs/gradle-plugin-0.6.39.jar
Binary file not shown.
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<!--- [![No Maintenance Intended](unmaintained.svg)](unmaintained.svg) --->

#### Gradle plugin website [https://plugins.gradle.org/plugin/com.dimaslanjaka](https://plugins.gradle.org/plugin/com.dimaslanjaka)

- auto clear big log of gradle
- auto create version code based on current date
- auto cached offline dependencies without redownload them
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class OfflineDependenciesPlugin {

def extension = project.extensions.create(EXTENSION_NAME, OfflineDependenciesExtension, repositoryHandler)

println("Offline dependencies root configured at '${styler(CYAN_BOLD_BRIGHT, project.ext.offlineRepositoryRoot as String)}'")
println("Offline dependencies root configured at ${styler(CYAN_BOLD_BRIGHT, project.ext.offlineRepositoryRoot as String)}")

project.task('updateOfflineRepository', type: UpdateOfflineRepositoryTask) {
conventionMapping.root = { "${project.offlineRepositoryRoot}" }
Expand Down
4 changes: 2 additions & 2 deletions src/main/groovy/com/dimaslanjaka/gradle/core/Plugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,13 @@ class Plugin implements org.gradle.api.Plugin<Project> {
version.apply(project)
printTaskList()

if (!dependenciesList.toString().contains("com.google.inject")) {
/*if (!dependenciesList.toString().contains("com.google.inject")) {
if (configurationList.hasProperty('implementation')) {
project.dependencies.add("implementation", "com.google.inject:guice:4.0-beta5")
} else if (configurationList.hasProperty('compile')) {
project.dependencies.add("compile", "com.google.inject:guice:4.0-beta5")
}
}
}*/

project.offlineDependencies {
repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ class Resolver {
add(project.repositories.jcenter())
add(project.repositories.mavenLocal())
add(project.repositories.mavenCentral())
add(project.repositories.maven {
/*add(project.repositories.maven {
it.url = uri("https://maven.pkg.github.com/dimaslanjaka/gradle-plugin")
it.credentials { c ->
c.username = "dimaslanjaka"
c.password = "d98acb59134fabab05145ddeb7abe4441db18b4a"
}
})
})*/

add("http://backend.webmanajemen.com/artifact/")
add("http://devrepo.kakao.com:8088/nexus/content/repositories/central/")
Expand Down

0 comments on commit 2504a6e

Please sign in to comment.