mirror of
https://github.com/corda/corda.git
synced 2025-02-04 10:11:14 +00:00
Add a version number to gradle and allow "gradle install" to install the core module to the local Maven repository.
This commit is contained in:
parent
bbc5c2e981
commit
ad3e9be1c8
@ -1,5 +1,4 @@
|
|||||||
group 'com.r3cev.prototyping'
|
group 'com.r3corda'
|
||||||
version '1.0-SNAPSHOT'
|
|
||||||
|
|
||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
@ -41,6 +40,11 @@ buildscript {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
allprojects {
|
||||||
|
// Our version: bump this on release.
|
||||||
|
group 'com.r3corda'
|
||||||
|
version '0.2-SNAPSHOT'
|
||||||
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
group 'com.r3cev.prototyping'
|
|
||||||
version '1.0-SNAPSHOT'
|
|
||||||
|
|
||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
apply plugin: QuasarPlugin
|
apply plugin: QuasarPlugin
|
||||||
|
// Applying the maven plugin means this will get installed locally when running "gradle install"
|
||||||
|
apply plugin: 'maven'
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
|
@ -33,10 +33,12 @@ Steps to cut a release
|
|||||||
create one, bug them to do so a day or two before the release.
|
create one, bug them to do so a day or two before the release.
|
||||||
4. Regenerate the docsite if necessary and commit.
|
4. Regenerate the docsite if necessary and commit.
|
||||||
5. Create a branch with a name like `release-M0` where 0 is replaced by the number of the milestone.
|
5. Create a branch with a name like `release-M0` where 0 is replaced by the number of the milestone.
|
||||||
6. Tag that branch with a tag like `release-M0.0`
|
6. Adjust the version in the root build.gradle file to take out the -SNAPSHOT and commit it on the branch.
|
||||||
7. Push the branch and the tag to git.
|
7. Tag the branch with a tag like `release-M0.0`
|
||||||
8. Write up a short announcement containing the summary of new features, changes, and API breaks. Send it to the
|
8. Push the branch and the tag to git.
|
||||||
|
9. Write up a short announcement containing the summary of new features, changes, and API breaks. Send it to the
|
||||||
r3dlg-awg mailing list.
|
r3dlg-awg mailing list.
|
||||||
|
10. On master, adjust the version number in the root build.gradle file upwards.
|
||||||
|
|
||||||
If there are serious bugs found in the release, backport the fix to the branch and then tag it with e.g. `release-M0.1`
|
If there are serious bugs found in the release, backport the fix to the branch and then tag it with e.g. `release-M0.1`
|
||||||
Minor changes to the branch don't have to be announced unless it'd be critical to get all developers updated.
|
Minor changes to the branch don't have to be announced unless it'd be critical to get all developers updated.
|
@ -1,6 +1,3 @@
|
|||||||
group 'com.r3cev.prototyping'
|
|
||||||
version '1.0-SNAPSHOT'
|
|
||||||
|
|
||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
apply plugin: QuasarPlugin
|
apply plugin: QuasarPlugin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user