File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ plugins {
1818	id ' org.ajoberstar.git-publish' ' 1.0.1' false 
1919	id ' org.jetbrains.kotlin.jvm' ' 1.2.61' false 
2020	id ' com.github.johnrengelman.shadow' ' 2.0.4' false 
21+ 	id ' de.marcphilipp.nexus-publish' ' 0.1.0' false 
2122}
2223
2324buildScan  {
Original file line number Diff line number Diff line change 1- apply plugin : ' maven -publish' 
1+ apply plugin : ' de.marcphilipp.nexus -publish' 
22apply plugin : ' signing' 
33
44def  isSnapshot =  project. version. contains(' SNAPSHOT' 
@@ -70,15 +70,4 @@ publishing {
7070			}
7171		}
7272	}
73- 	repositories {
74- 		maven {
75- 			def  stagingRepoUrl =  ' https://oss.sonatype.org/service/local/staging/deploy/maven2/' 
76- 			def  snapshotRepoUrl =  ' https://oss.sonatype.org/content/repositories/snapshots/' 
77- 			url isSnapshot ?  snapshotRepoUrl :  stagingRepoUrl
78- 			credentials {
79- 				username =  rootProject. findProperty(' ossrhUsername' ?:  ' ' 
80- 				password =  rootProject. findProperty(' ossrhPassword' ?:  ' ' 
81- 			}
82- 		}
83- 	}
8473}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments