Fixed building (again)
This commit is contained in:
		
							parent
							
								
									a2bd5de224
								
							
						
					
					
						commit
						b0ef0cf8a4
					
				@ -17,12 +17,18 @@ dependencies {
 | 
			
		||||
    implementation group: 'org.json', name: 'json', version: '20210307'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
task setEnv(type: Exec) {
 | 
			
		||||
    environment "VERSION", "$version"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
apply plugin: 'maven-publish'
 | 
			
		||||
 | 
			
		||||
publishing {
 | 
			
		||||
    publications{
 | 
			
		||||
        publish(MavenPublication) {
 | 
			
		||||
            publication -> project.shadow.component(publication)
 | 
			
		||||
            artifact("target/DeepJ-$version" + ".jar") {
 | 
			
		||||
                extension 'jar'
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
    repositories {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user