forked from qoomon/gradle-git-versioning-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (42 loc) · 1.48 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
plugins {
id "com.github.ben-manes.versions" version "0.42.0"
id "java"
id "java-gradle-plugin"
id 'com.adarshr.test-logger' version '3.2.0'
id "com.gradle.plugin-publish" version "1.0.0-rc-1"
id "maven-publish" // for local testing only
id "idea"
}
group 'me.qoomon'
version '6.1.0'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
repositories {
mavenCentral()
}
dependencies {
implementation 'org.eclipse.jgit:org.eclipse.jgit:6.1.0.202203080745-r'
implementation 'org.apache.maven:maven-artifact:3.8.5'
implementation 'org.apache.commons:commons-configuration2:2.7'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
testImplementation 'org.assertj:assertj-core:3.22.0'
}
test {
useJUnitPlatform()
}
gradlePlugin {
plugins {
gitVersioning {
id = 'me.qoomon.git-versioning'
displayName= 'Git Versioning Plugin'
description = 'This extension will adjust the project version, based on current git branch or tag.'
implementationClass = 'me.qoomon.gradle.gitversioning.GitVersioningPlugin'
}
}
}
pluginBundle {
website = 'https://github.com/qoomon/gradle-git-versioning-plugin'
vcsUrl = 'https://github.com/qoomon/gradle-git-versioning-plugin.git'
tags = ['git', 'versioning', 'version', 'tag', 'branch', 'generated', 'plugin', 'artificial']
}