-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
46 lines (42 loc) · 1.11 KB
/
build.gradle.kts
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
plugins {
kotlin("jvm") version "1.8.20"
id("com.gradle.plugin-publish") version "1.2.0"
}
repositories {
mavenCentral()
maven {
url = uri("https://git.rehost.eu/api/v4/projects/137/packages/maven")
}
}
// Use java-gradle-plugin to generate plugin descriptors and specify plugin ids
gradlePlugin {
website.set("https://git.rehost.eu/rehost/gradle-torque")
vcsUrl.set("https://git.rehost.eu/rehost/gradle-torque.git")
plugins {
create("TorquePlugin") {
id = "eu.rehost.torque"
description = "Uses the Apache Torque Generator to generate ObjectMapper classes (om) and SQL Files (sql)"
implementationClass = "eu.rehost.plugins.TorquePlugin"
displayName = "Gradle Torque Plugin"
tags.set(listOf("torque"))
}
}
}
dependencies {
implementation("org.apache.torque:torque-generator:5.2-SNAPSHOT")
implementation("org.apache.torque:torque-templates:5.2-SNAPSHOT")
}
publishing {
repositories {
maven {
url = uri("https://git.rehost.eu/api/v4/projects/137/packages/maven")
credentials {
username = ""
password = ""
}
authentication {
create<BasicAuthentication>("basic")
}
}
}
}