Skip to content

Commit 6a91cbb

Browse files
committed
Add release please config and version comments
1 parent 1b49f48 commit 6a91cbb

File tree

5 files changed

+48
-1
lines changed

5 files changed

+48
-1
lines changed

readme.md renamed to README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ repositories {
2222
2323
dependencies {
2424
// Include the sdk as a dependency
25+
// x-release-please-start-version
2526
implementation 'com.microsoft.graph:microsoft-graph-core:3.1.10'
27+
// x-release-please-end
2628
// This dependency is only needed if you are using the TokenCredentialAuthProvider
2729
implementation 'com.azure:azure-identity:1.11.0'
2830
}
@@ -37,7 +39,9 @@ Add the dependency in `dependencies` in pom.xml
3739
<!-- Include the sdk as a dependency -->
3840
<groupId>com.microsoft.graph</groupId>
3941
<artifactId>microsoft-graph-core</artifactId>
42+
<!--x-release-please-start-version-->
4043
<version>3.1.10</version>
44+
<!--x-release-please-end-->
4145
<!-- This dependency is only needed if you are using the TokenCredentialAuthProvider -->
4246
<groupId>com.azure</groupId>
4347
<artifactId>azure-identity</artifactId>

gradle.properties

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,15 @@ org.gradle.jvmargs=-Xmx2g
2323

2424
mavenGroupId = com.microsoft.graph
2525
mavenArtifactId = microsoft-graph-core
26+
# x-release-please-start-major
2627
mavenMajorVersion = 3
28+
# x-release-please-end
29+
# x-release-please-start-minor
2730
mavenMinorVersion = 1
31+
# x-release-please-end
32+
# x-release-please-start-patch
2833
mavenPatchVersion = 10
34+
# x-release-please-end
2935
mavenArtifactSuffix =
3036

3137
#These values are used to run functional tests

pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88

99
<groupId>com.microsoft.graph</groupId>
1010
<artifactId>microsoft-graph-core</artifactId>
11-
<version>3.1.0</version>
11+
<!--x-release-please-start-version-->
12+
<version>3.1.10</version>
13+
<!--x-release-please-end-->
1214
<packaging>pom</packaging>
1315

1416
<properties>

release-please-config.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"bootstrap-sha": "2d57400ce14711ffae06de400a6e10e3817632b8",
3+
"exclude-paths": [
4+
".git",
5+
".idea",
6+
".github",
7+
".vscode"
8+
],
9+
"release-type": "simple",
10+
"include-component-in-tag": false,
11+
"include-v-in-tag": true,
12+
"packages": {
13+
".": {
14+
"package-name": "com.microsoft.graph.microsoft-graph-core",
15+
"changelog-path": "CHANGELOG.md",
16+
"extra-files": [
17+
"gradle.properties",
18+
"README.md",
19+
"src/main/java/com/microsoft/graph/core/CoreConstants.java",
20+
{
21+
"type": "xml",
22+
"path": "pom.xml",
23+
"xpath": "//project/version"
24+
}
25+
]
26+
}
27+
},
28+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
29+
}

src/main/java/com/microsoft/graph/core/CoreConstants.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,15 @@ public final class CoreConstants {
1212
private CoreConstants() {}
1313

1414
private static class VersionValues {
15+
// x-release-please-start-major
1516
private static final int MAJOR = 3;
17+
// x-release-please-end
18+
// x-release-please-start-minor
1619
private static final int MINOR = 1;
20+
// x-release-please-end
21+
// x-release-please-start-patch
1722
private static final int PATCH = 10;
23+
// x-release-please-end
1824
}
1925

2026
/**

0 commit comments

Comments
 (0)