@@ -73,10 +73,10 @@ buildscript {
7373
7474    repositories {
7575        mavenLocal()
76-         maven { url " https://central.sonatype.com/repository/maven-snapshots/" 
77-         maven { url " https://aws.oss.sonatype.org/content/repositories/snapshots" 
76+         maven { url =   " https://central.sonatype.com/repository/maven-snapshots/" 
77+         maven { url =   " https://aws.oss.sonatype.org/content/repositories/snapshots" 
7878        mavenCentral()
79-         maven { url " https://plugins.gradle.org/m2/" 
79+         maven { url =   " https://plugins.gradle.org/m2/" 
8080    }
8181
8282    dependencies {
@@ -85,7 +85,7 @@ buildscript {
8585}
8686
8787plugins  {
88-     id ' com.netflix.nebula.ospackage' " 11.11.1 " 
88+     id ' com.netflix.nebula.ospackage' " 12.1.0 " 
8989    id " com.diffplug.spotless" " 6.25.0" 
9090    id ' java-library' 
9191    id ' org.gradle.test-retry' ' 1.6.0' 
@@ -118,11 +118,11 @@ tasks.withType(AbstractArchiveTask).configureEach {
118118
119119repositories  {
120120    mavenLocal()
121-     maven { url " https://central.sonatype.com/repository/maven-snapshots/" 
122-     maven { url " https://aws.oss.sonatype.org/content/repositories/snapshots" 
121+     maven { url =   " https://central.sonatype.com/repository/maven-snapshots/" 
122+     maven { url =   " https://aws.oss.sonatype.org/content/repositories/snapshots" 
123123    mavenCentral()
124-     maven { url " https://plugins.gradle.org/m2/" 
125-     maven { url " https://ci.opensearch.org/ci/dbc/snapshots/lucene/" 
124+     maven { url =   " https://plugins.gradle.org/m2/" 
125+     maven { url =   " https://ci.opensearch.org/ci/dbc/snapshots/lucene/" 
126126}
127127configurations  {
128128    zipArchive
@@ -244,9 +244,9 @@ ext {
244244}
245245
246246opensearchplugin  {
247-     name ' opensearch-anomaly-detection' 
248-     description ' OpenSearch anomaly detector plugin' 
249-     classname ' org.opensearch.timeseries.TimeSeriesAnalyticsPlugin' 
247+     name =   ' opensearch-anomaly-detection' 
248+     description =   ' OpenSearch anomaly detector plugin' 
249+     classname =   ' org.opensearch.timeseries.TimeSeriesAnalyticsPlugin' 
250250    extendedPlugins =  [' lang-painless' ' opensearch-job-scheduler' ' opensearch-security;optional=true' 
251251}
252252
@@ -303,8 +303,8 @@ publishing {
303303            name =  " Snapshots" 
304304            url =  " https://central.sonatype.com/repository/maven-snapshots/" 
305305            credentials {
306-                 username " $System . env . SONATYPE_USERNAME  " 
307-                 password " $System . env . SONATYPE_PASSWORD  " 
306+                 username =   " $System . env . SONATYPE_USERNAME  " 
307+                 password =   " $System . env . SONATYPE_PASSWORD  " 
308308            }
309309        }
310310    }
@@ -1063,21 +1063,20 @@ afterEvaluate {
10631063            into opensearchplugin. name
10641064        }
10651065
1066-         user ' root' 
1067-         permissionGroup ' root' 
1068-         fileMode 0644 
1069-         dirMode 0755 
1066+         user =   ' root' 
1067+         permissionGroup =   ' root' 
1068+         fileMode =   0644 
1069+         dirMode =   0755 
10701070
10711071        requires(' opensearch' . opensearch, EQUAL )
10721072        packager =  ' Amazon' 
10731073        vendor =  ' Amazon' 
10741074        os =  ' LINUX' 
10751075        prefix ' /usr' 
1076- 
1077-         license ' ASL-2.0' 
1078-         maintainer ' OpenSearch <opensearch@amazon.com>' 
1079-         url ' https://opensearch.org/downloads.html' 
1080-         summary ''' 
1076+         license =  ' ASL-2.0' 
1077+         maintainer =  ' OpenSearch <opensearch@amazon.com>' 
1078+         url =  ' https://opensearch.org/downloads.html' 
1079+         summary =  ''' 
10811080         Anomaly Detection plugin for OpenSearch. 
10821081         Reference documentation can be found at https://opensearch.org/docs/monitoring-plugins/ad/index/. 
10831082    '''  . stripIndent(). replace(' \n ' '  ' . trim()
0 commit comments