Added missing packages
This commit is contained in:
@@ -18,6 +18,7 @@ package org.springframework.cloud.release.spring;
|
||||
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
||||
import org.springframework.cloud.release.internal.Releaser;
|
||||
import org.springframework.cloud.release.internal.ReleaserProperties;
|
||||
import org.springframework.cloud.release.internal.build.ProjectBuilder;
|
||||
import org.springframework.cloud.release.internal.pom.ProjectUpdater;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
@@ -26,11 +27,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
@EnableConfigurationProperties(ReleaserProperties.class)
|
||||
class ReleaserConfiguration {
|
||||
|
||||
/*@Bean Releaser releaser(ReleaserProperties properties) {
|
||||
return new Releaser(properties, new ProjectUpdater(properties), new ProjectBuilder(properties));
|
||||
}*/
|
||||
|
||||
@Bean Releaser releaser(ReleaserProperties properties) {
|
||||
return new Releaser(properties, new ProjectUpdater(properties));
|
||||
return new Releaser(properties, new ProjectUpdater(properties), new ProjectBuilder(properties));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user