-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into make_remote_snapshot_index_read_only
Signed-off-by: Vishal Sarda <vsarda@amazon.com>
- Loading branch information
Showing
180 changed files
with
5,844 additions
and
3,065 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
buildSrc/src/test/resources/pluginzip/allProjectsGroup.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
plugins { | ||
id 'java-gradle-plugin' | ||
id 'opensearch.pluginzip' | ||
} | ||
|
||
version='2.0.0.0' | ||
|
||
// A bundlePlugin task mockup | ||
tasks.register('bundlePlugin', Zip.class) { | ||
archiveFileName = "sample-plugin-${version}.zip" | ||
destinationDirectory = layout.buildDirectory.dir('distributions') | ||
from layout.projectDirectory.file('sample-plugin-source.txt') | ||
} | ||
|
||
allprojects { | ||
group = 'org.opensearch' | ||
} | ||
|
||
publishing { | ||
publications { | ||
pluginZip(MavenPublication) { publication -> | ||
pom { | ||
name = "sample-plugin" | ||
description = "pluginDescription" | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
buildSrc/src/test/resources/pluginzip/groupPriorityLevel.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
plugins { | ||
id 'java-gradle-plugin' | ||
id 'opensearch.pluginzip' | ||
} | ||
|
||
version='2.0.0.0' | ||
|
||
// A bundlePlugin task mockup | ||
tasks.register('bundlePlugin', Zip.class) { | ||
archiveFileName = "sample-plugin-${version}.zip" | ||
destinationDirectory = layout.buildDirectory.dir('distributions') | ||
from layout.projectDirectory.file('sample-plugin-source.txt') | ||
} | ||
|
||
allprojects { | ||
group = 'level.1' | ||
} | ||
|
||
publishing { | ||
publications { | ||
pluginZip(MavenPublication) { publication -> | ||
groupId = "level.2" | ||
pom { | ||
name = "sample-plugin" | ||
description = "pluginDescription" | ||
groupId = "level.3" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.