File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 3131        with :
3232          repository : ' opensearch-project/OpenSearch' 
3333          path : OpenSearch 
34-           ref : ' main ' 
34+           ref : ' 1.x ' 
3535      - name : Build OpenSearch 
3636        working-directory : ./OpenSearch 
3737        run : ./gradlew publishToMavenLocal 
Original file line number Diff line number Diff line change @@ -44,7 +44,17 @@ repositories {
4444    jcenter()
4545}
4646
47- group ' org.opensearch.commons' 
47+ ext  {
48+     isSnapshot =  " true" ==  System . getProperty(" build.snapshot" " true" 
49+ }
50+ 
51+ allprojects  {
52+     group ' org.opensearch.commons' 
53+     version =  opensearch_version -  ' -SNAPSHOT' +  ' .0' 
54+     if  (isSnapshot) {
55+         version + =  " -SNAPSHOT" 
56+     }
57+ }
4858
4959sourceCompatibility =  1.8 
5060
@@ -146,8 +156,6 @@ task javadocJar(type: Jar) {
146156    from javadoc. destinationDir
147157}
148158
149- version ' 1.1.0.0' 
150- 
151159publishing  {
152160    publications {
153161        shadow(MavenPublication ) {
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments