forked from mark-vieira/gradle-maven-settings-plugin
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
51 lines (43 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 'groovy'
id 'maven-publish'
id "com.gradle.plugin-publish" version "1.0.0"
}
ext {
mavenVersion = '3.8.6'
}
repositories {
mavenCentral()
}
dependencies {
implementation gradleApi()
implementation localGroovy()
implementation "org.apache.maven:maven-settings:$mavenVersion"
implementation "org.apache.maven:maven-settings-builder:$mavenVersion"
implementation "org.apache.maven:maven-model-builder:$mavenVersion"
implementation "org.apache.maven:maven-model:$mavenVersion"
implementation "org.apache.maven:maven-core:$mavenVersion"
implementation 'org.sonatype.plexus:plexus-cipher:1.4'
implementation 'org.sonatype.plexus:plexus-sec-dispatcher:1.3'
testImplementation 'junit:junit:4.11'
testImplementation 'org.hamcrest:hamcrest-library:1.3'
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
pluginBundle {
website = 'https://github.com/rmanibus/gradle-maven-settings-plugin'
vcsUrl = 'https://github.com/rmanibus/gradle-maven-settings-plugin'
description = 'Gradle plugin for exposing Maven settings file configuration to Gradle project.'
tags = ['settings', 'maven']
}
gradlePlugin {
plugins {
mavenSettings {
id = 'io.github.rmanibus.maven-settings'
displayName = 'Maven Settings Plugin'
implementationClass = 'net.linguica.gradle.maven.settings.MavenSettingsPlugin'
}
}
}