-
Bug
-
Resolution: Unresolved
-
Major
-
2.1.0.GA
-
None
A new gradle sample has dependencies which should be downloaded during the build:
plugins { id 'org.springframework.boot' version '2.2.2.RELEASE' id 'io.spring.dependency-management' version '1.0.8.RELEASE' id 'java' } group = 'com.example' version = '0.0.1-SNAPSHOT' sourceCompatibility = '1.8' repositories { mavenCentral() } dependencies { implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' implementation 'org.springframework.boot:spring-boot-starter-web' testImplementation('org.springframework.boot:spring-boot-starter-test') { exclude group: 'org.junit.vintage', module: 'junit-vintage-engine' } } test { useJUnitPlatform() }
But it could be done because of proxy.
Could not run phased build action using Gradle installation '/opt/gradle'. Build file '/projects/gs-validating-form-input/complete/build.gradle' line: 2 Plugin [id: 'org.springframework.boot', version: '2.2.2.RELEASE'] was not found in any of the following sources: - Gradle Core Plugins (plugin is not in 'org.gradle' namespace) - Plugin Repositories (could not resolve plugin artifact 'org.springframework.boot:org.springframework.boot.gradle.plugin:2.2.2.RELEASE') Searched in the following repositories: Gradle Central Plugin Repository Plugin [id: 'org.springframework.boot', version: '2.2.2.RELEASE'] was not found in any of the following sources: - Gradle Core Plugins (plugin is not in 'org.gradle' namespace) - Plugin Repositories (could not resolve plugin artifact 'org.springframework.boot:org.springframework.boot.gradle.plugin:2.2.2.RELEASE') Searched in the following repositories: Gradle Central Plugin RepositoryJava(0)
Probably we have to collect and provide all these artifacts in the image.
And I think this problem could be also actual for another projects: maven, c#, php, node js which want to download some dependencies
- relates to
-
CRW-739 Set GRADLE_HOME env into java plugins which contain Gradle
- Closed