Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apply plugin: 'java'
- apply plugin: 'idea'
- apply plugin: 'eclipse'
- apply plugin: 'maven'
- repositories{
- mavenLocal()
- mavenCentral()
- }
- group = 'me.mrkirby153.quarxel'
- version = '1.0-SNAPSHOT'
- targetCompatibility = '1.7'
- sourceCompatibility = '1.7'
- archivesBaseName='QuarxelManager'
- jar{
- manifest{
- attributes 'version':project.version
- }
- }
- artifacts{
- archives jar
- }
- dependencies{
- compile gradleApi()
- }
- uploadArchives{
- repositories{
- if(project.hasProperty("repositoryUrl") && project.hasProperty("repositoryUsername") && project.hasProperty("repositoryPassword")){
- mavenDeployer{
- repository(url: project.repositoryUrl){
- logger.info("Repository to deploy to: "+project.repositoryUrl)
- logger.info("Username: "+project.repositoryUsername+" Password: "+project.repositoryPassword);
- authentication(userName: project.repositoryUsername, password: project.repositoryPassword)
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment