forked from TeamLapen/VampirismIntegrations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
68 lines (56 loc) · 1.66 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
60
61
62
63
64
65
66
67
68
buildscript {
repositories {
mavenCentral()
jcenter()
maven {
name = "forge"
url = "https://files.minecraftforge.net/maven"
}
}
dependencies {
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1+'
}
}
plugins {
id 'com.matthewprenger.cursegradle' version '1.4.0'
id 'de.undercouch.download' version '3.3.0'
id "com.modrinth.minotaur" version "2.4.5"
}
apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply from: 'https://raw.githubusercontent.com/SizableShrimp/Forge-Class-Remapper/main/classremapper.gradle'
configurations {
optionalRuntime
runtime.extendsFrom optionalRuntime // optionalRuntime dependencies are downloaded but not exported to POM
}
sourceSets{
main {
java{
exclude '**/abyssalcraft/*'
exclude '**/toroquest/*'
exclude '**/consecration/*'
exclude '**/survive/*'
exclude '**/crafttweaker/*'
exclude '**/diet/*'
}
}
}
idea {
module {
for (String excludeDirName in ["run", "out", "logs", "gradle"]) {
File excludeDir = new File(projectDir, excludeDirName)
excludeDirs.add(excludeDir)
}
}
}
group = "de.teamlapen.vampirism_integrations"
archivesBaseName = "VampirismIntegrations"
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
ext.mod_version = "Test"
ext.type = "Test"
ext.classification="test"
apply from: 'gradle/artifacts.gradle'
apply from: 'gradle/versioning.gradle'
apply from: 'gradle/forge.gradle'
apply from: 'gradle/deploy.gradle'