-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
51 lines (44 loc) · 1.42 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
buildscript {
repositories {
maven { url = 'https://maven.minecraftforge.net/' }
maven { url = 'https://maven.parchmentmc.org' }
maven { url = 'https://plugins.gradle.org/m2/' }
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true
classpath 'org.parchmentmc:librarian:1.+'
classpath 'gradle.plugin.com.matthewprenger:CurseGradle:1.4.0'
}
}
plugins { id "com.modrinth.minotaur" version "2.+" }
apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'org.parchmentmc.librarian.forgegradle'
apply plugin: 'eclipse'
apply plugin: 'com.matthewprenger.cursegradle'
apply plugin: 'maven-publish'
if (project.file('../gradletools.gradle').exists()) {
apply from: '../gradletools.gradle'
} else {
apply from: 'https://raw.githubusercontent.com/McJtyMods/MultiWorkspace/1.19_tech/gradletools.gradle'
}
group = "com.github.mcjty"
archivesBaseName = 'fancytrinkets'
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
repos()
runs('fancytrinkets')
jars('fancytrinkets')
sourceSets.main.resources {
srcDir 'src/generated/resources'
}
dependencies {
mc()
jei()
curios()
top()
mcjtylib()
}
publish()
cfdeps(['the-one-probe'], ['mcjtylib', 'curios'], ['1.19.3', '1.19.4'])
modrinth(['the-one-probe'], ['mcjtylib', 'curios'], ['1.19.3', '1.19.4'])