-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.gradle
51 lines (40 loc) · 1.46 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
plugins {
id "com.github.ben-manes.versions" version "0.51.0"
id "java"
id "java-gradle-plugin"
id 'com.adarshr.test-logger' version '4.0.0'
id "com.gradle.plugin-publish" version "1.2.1"
id "maven-publish" // for local testing only
id "idea"
}
group 'me.qoomon'
version '6.4.5'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
repositories {
mavenCentral()
}
dependencies {
implementation 'org.eclipse.jgit:org.eclipse.jgit:6.9.0.202403050737-r'
implementation 'org.apache.maven:maven-artifact:3.9.6'
implementation 'org.apache.commons:commons-configuration2:2.11.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.2'
testImplementation 'org.assertj:assertj-core:3.25.3'
}
test {
useJUnitPlatform()
}
gradlePlugin {
website = 'https://github.com/qoomon/gradle-git-versioning-plugin'
vcsUrl = 'https://github.com/qoomon/gradle-git-versioning-plugin.git'
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.'
tags.set( ['git', 'versioning', 'version', 'commit', 'branch', 'tag', 'generated'])
implementationClass = 'me.qoomon.gradle.gitversioning.GitVersioningPlugin'
}
}
}