2015-06-21 08:58:49 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								uploadArchives  {  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    repositories  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        mavenDeployer  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            pom . project  { 
							 
						 
					
						
							
								
									
										
										
										
											2016-01-17 05:42:48 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                name  'Jabit Core' 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								                artifactId  =  'jabit-core' 
							 
						 
					
						
							
								
									
										
										
										
											2015-06-21 08:58:49 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								                description  'A Java implementation of the Bitmessage protocol. This is the core part. You\'ll either need the networking and repositories modules, too, or implement your own.' 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								}  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-09-25 23:35:31 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								configurations  {  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    testArtifacts . extendsFrom  testRuntime 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								}  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								task  testJar ( type:  Jar )  {  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    classifier  =  'test' 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    from  sourceSets . test . output 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								}  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								artifacts  {  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    testArtifacts  testJar 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								}  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-03-20 14:18:29 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								dependencies  {  
						 
					
						
							
								
									
										
										
										
											2017-07-02 11:46:27 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    compile  'org.slf4j:slf4j-api' 
							 
						 
					
						
							
								
									
										
										
										
											2017-11-21 10:44:41 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    compile  'ch.dissem.msgpack:msgpack' 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    testCompile  'junit:junit' 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    testCompile  'org.hamcrest:hamcrest-library' 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    testCompile  'com.nhaarman:mockito-kotlin' 
							 
						 
					
						
							
								
									
										
										
										
											2016-01-10 13:38:32 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    testCompile  project ( ':cryptography-bc' ) 
							 
						 
					
						
							
								
									
										
										
										
											2015-08-05 19:52:18 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								}  
						 
					
						
							
								
									
										
										
										
											2017-07-05 00:37:45 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								def  generatedResources  =  "${project.buildDir}/generated-resources/main"  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								sourceSets  {  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    main  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        output . dir ( generatedResources ,  builtBy:  'generateVersionInfo' ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								}  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								task ( 'generateVersionInfo' )  {  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    doLast  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        def  dir  =  new  File ( generatedResources ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        if  ( ! dir . exists ( ) )  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								            dir . mkdirs ( ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        def  file  =  new  File ( generatedResources ,  "version" ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        file . write ( project . version . toString ( ) ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    } 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								}