-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
59 lines (50 loc) · 1.53 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
55
56
57
58
59
plugins {
id 'java-gradle-plugin'
id 'groovy'
id 'nu.studer.credentials' version '1.0.7'
id 'com.gradle.plugin-publish' version '0.10.1'
id "maven-publish"
}
project.group = 'com.mcwa'
project.version = '1.10.7'
def archivaUrl = 'http://subversion:8080/repository/internal'
def archivaUser = credentials.ArchivaPublishUsername
def archivaPass = credentials.ArchivaPublishPassword
repositories {
maven { url archivaUrl }
}
publishing { //maven-publish configuration
publications { //the artifacts to publish
oracleformsPlugin(MavenPublication){
artifactId = 'oracleforms'
from components.java
}
}
repositories { //the repos to publish to
maven {
url archivaUrl
credentials(PasswordCredentials){
username = archivaUser
password = archivaPass
}
}
}
}
dependencies {
compile 'commons-io:commons-io:2.6'
}
pluginBundle {
website = 'https://github.com/ethanmdavidson/oracleformsgradleplugin'
vcsUrl = 'https://github.com/ethanmdavidson/oracleformsgradleplugin'
description = "A Gradle plugin for working with Oracle Forms"
tags = ['oracle', 'forms', 'reports', '12c', 'fmb', 'fmx', 'rdf', 'mmb', 'mmx', 'pll', 'plx', 'olb']
}
gradlePlugin {
plugins {
oracleformsPlugin {
id = 'com.mcwa.oracleforms'
displayName = 'Oracle Forms Gradle plugin'
implementationClass = 'com.mcwa.oracleformsgradleplugin.FormsCompilePlugin'
}
}
}