Skip to content

Commit

Permalink
Adjusting to Bintray
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed Dec 19, 2017
1 parent 5ee1f24 commit 93d8d88
Showing 1 changed file with 13 additions and 93 deletions.
106 changes: 13 additions & 93 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,103 +1,23 @@
buildscript {
repositories {
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1'
classpath 'net.researchgate:gradle-release:2.4.0'
classpath "com.gradle.publish:plugin-publish-plugin:0.9.9"
classpath 'gradle.plugin.com.github.sherter.google-java-format:google-java-format-gradle-plugin:0.6'
}
}

apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'eclipse'
apply plugin: 'signing'
apply plugin: 'com.bmuschko.nexus'
apply plugin: 'net.researchgate.release'
apply plugin: 'com.gradle.plugin-publish'
apply plugin: 'com.github.sherter.google-java-format'

project.ext.tags = ['git', 'changelog', 'releasenotes', 'patchnotes']
group = 'se.bjurr.gitchangelog'
description = 'Gradle plugin for Git Changelog'

dependencies {
compile gradleApi()
}

sourceCompatibility = 1.7

repositories {
mavenCentral()
mavenLocal()
jcenter()
}

dependencies {
compile 'se.bjurr.gitchangelog:git-changelog-lib:1.74'
}

eclipse {
classpath {
downloadSources = true
downloadJavadoc = true
buildscript {
repositories {
maven { url "https://jitpack.io" }
}
}

pluginBundle {
website = 'https://github.com/tomasbjerre/git-changelog-gradle-plugin'
vcsUrl = 'https://github.com/tomasbjerre/git-changelog-gradle-plugin'
description = 'Gradle plugin for Git Changelog'
tags = ['git', 'changelog']

plugins {
gitChangelogPlugin {
id = 'se.bjurr.gitchangelog.git-changelog-gradle-plugin'
displayName = 'Git Changelog Gradle Plugin'
}
}
}

modifyPom {
project {
name 'Git Changelog Gradle Plugin'
description 'Gradle plugin for Git Changelog'
url 'https://github.com/tomasbjerre/git-changelog-gradle-plugin'
inceptionYear '2015'
scm {
url 'https://github.com/tomasbjerre/git-changelog-gradle-plugin'
connection 'scm:https://tomasbjerre@github.com/tomasbjerre/git-changelog-gradle-plugin.git'
developerConnection 'scm:git://github.com/tomasbjerre/git-changelog-gradle-plugin.git'
}

licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}

developers {
developer {
id 'tomasbjerre'
name 'Tomas Bjerre'
email 'tomas.bjerre85@gmail.com'
}
}
dependencies {
classpath 'com.github.tomasbjerre:gradle-scripts:master-SNAPSHOT'
}
}
apply from: project.buildscript.classLoader.getResource('java.gradle').toURI()
apply from: project.buildscript.classLoader.getResource('release.gradle').toURI()
apply from: project.buildscript.classLoader.getResource('gradle-plugin.gradle').toURI()

extraArchive {
sources = true
tests = true
javadoc = true
}

compileJava.dependsOn 'googleJavaFormat'

afterReleaseBuild.dependsOn publishPlugins
afterReleaseBuild.dependsOn uploadArchives
dependencies {
compile 'se.bjurr.gitchangelog:git-changelog-lib:1.74'
}

0 comments on commit 93d8d88

Please sign in to comment.