This repository has been archived by the owner on Jul 14, 2023. It is now read-only.
forked from cout970/CakeApi
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
85 lines (69 loc) · 1.6 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
buildscript{
repositories {
jcenter()
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
maven {
name = "mvn-repo"
url = "https://github.com/pagoru/mvn-repo/raw/master/"
}
}
dependencies {
classpath 'com.pixelmonmod.pixelmon:pixelmonAPI:1.10.2-5.0.0-beta7'
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.forge'
version = "3.3.2"
group = "org.cakepowered.api"
archivesBaseName = "cakeapimod"
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
minecraft {
version = "1.10.2-12.18.1.2011"
runDir = "run"
mappings = "snapshot_20160518"
makeObfSourceJar = false
}
dependencies {
compile 'com.pixelmonmod.pixelmon:pixelmonAPI:1.10.2-5.0.0-beta7'
}
repositories {
maven {
name = "mvn-repo"
url = "https://github.com/pagoru/mvn-repo/raw/master/"
}
}
jar{
manifest{
attributes(
'FMLCorePlugin': 'org.cakepowered.mod.CakeCoremod'
)
}
}
sourceSets{
main {
java {
srcDir 'src/main/java'
srcDir 'src/main/api'
srcDir 'src/main/modules'
}
resources {
srcDir 'src/main/resources'
}
}
}
//noinspection GroovyAssignabilityCheck
processResources {
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
expand 'version': project.version, 'mcversion': project.minecraft.version
}
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
}