|
|
@ -3,7 +3,6 @@ import org.springframework.boot.maven.Verify
|
|
|
|
import static org.junit.Assert.assertFalse
|
|
|
|
import static org.junit.Assert.assertFalse
|
|
|
|
|
|
|
|
|
|
|
|
def file = new File(basedir, "target/classes/META-INF/build-info.properties")
|
|
|
|
def file = new File(basedir, "target/classes/META-INF/build-info.properties")
|
|
|
|
println file.getAbsolutePath()
|
|
|
|
|
|
|
|
Properties properties = Verify.verifyBuildInfo(file,
|
|
|
|
Properties properties = Verify.verifyBuildInfo(file,
|
|
|
|
'org.springframework.boot.maven.it', 'build-info-disable-build-time',
|
|
|
|
'org.springframework.boot.maven.it', 'build-info-disable-build-time',
|
|
|
|
'Generate build info with disabled build time', '0.0.1.BUILD-SNAPSHOT')
|
|
|
|
'Generate build info with disabled build time', '0.0.1.BUILD-SNAPSHOT')
|
|
|
|