-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
49 lines (42 loc) · 1.17 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
47
48
49
@file:Suppress("UnstableApiUsage")
group = "com.almostreliable"
version = "1.1.1"
plugins {
id("com.gradle.plugin-publish") version "1.2.2"
}
gradlePlugin {
website = "https://almostreliable.com"
vcsUrl = "https://github.com/AlmostReliable/almostgradle.git"
plugins {
create(project.name) {
id = "${project.group}.${project.name}"
displayName = "AlmostGradle"
description = "A utility plugin for setting up NeoForge mods with ModDevGradle."
implementationClass = "${project.group}.${project.name}.AlmostGradlePlugin"
tags.set(listOf("minecraft", "modding", "moddevgradle", "utility"))
}
}
}
tasks {
withType<Jar> {
if (name == "javadocJar") {
enabled = false
}
}
withType<Javadoc> {
enabled = false
}
}
repositories {
gradlePluginPortal()
}
buildscript {
dependencies {
classpath("net.neoforged:moddev-gradle:2.0.+")
classpath("com.github.gmazzo.buildconfig:plugin:5.4.0")
}
}
dependencies {
compileOnly("net.neoforged:moddev-gradle:2.0.+")
implementation("com.github.gmazzo.buildconfig:plugin:5.4.0")
}