Introduce configure script for gradle properties to be used in CI env. MPS build to be referenced by build number only.
This commit is contained in:
parent
0fb0771ad7
commit
270ac30b63
|
|
@ -16,7 +16,7 @@ repositories {
|
|||
ivy {
|
||||
url 'https://teamcity.jetbrains.com/guestAuth/repository/download'
|
||||
layout ('pattern') {
|
||||
artifact '[organization]/[classifier]/[module]-[revision].[ext]'
|
||||
artifact '[organization]/[module]-[revision]/[module]-[revision].[ext]'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
<project default="configure" xmlns:if="ant:if">
|
||||
|
||||
<target name="configure">
|
||||
<echo message="Configuring gradle properties"/>
|
||||
<propertyfile file="gradle.properties">
|
||||
<entry key="mpsBuildConfiguration" value="${mpsBuildConfiguration}" if:set="mpsBuildConfiguration"/>
|
||||
<entry key="mpsBuildNumber" value="${mpsBuildNumber}" if:set="mpsBuildNumber"/>
|
||||
<entry key="mpsRelease" value="${mpsRelease}" if:set="mpsRelease"/>
|
||||
</propertyfile>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
Loading…
Reference in New Issue