Skip to content

Commit

Permalink
Fix versioning
Browse files Browse the repository at this point in the history
Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
  • Loading branch information
harshavamsi committed Apr 25, 2023
1 parent 7d38b7f commit 157653f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,12 @@ repositories {
if (localRepo) {
// For some reason the root dirs all point to the buildSrc folder. The local Repo will be one above that.
flatDir { dirs new File(project.rootDir, "../localRepo") }
} else {
} else if (snapshot) {
maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots" }
}
else {
maven { url "https://plugins.gradle.org/m2/" }
}
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class OpenSearchMajorVersion implements Serializable {

private static final long serialVersionUID = 1L;

public static final OpenSearchMajorVersion V_1_X = new OpenSearchMajorVersion((byte) 1, "2.x");
public static final OpenSearchMajorVersion V_1_X = new OpenSearchMajorVersion((byte) 1, "1.x");
public static final OpenSearchMajorVersion V_2_X = new OpenSearchMajorVersion((byte) 2, "2.x");
public static final OpenSearchMajorVersion V_3_X = new OpenSearchMajorVersion((byte) 3, "3.x");
public static final OpenSearchMajorVersion V_7_X = new OpenSearchMajorVersion((byte) 7, "7.x");
Expand Down

0 comments on commit 157653f

Please sign in to comment.