forked from TerraformersMC/GradleScripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfabric-mod.gradle
More file actions
44 lines (36 loc) · 757 Bytes
/
fabric-mod.gradle
File metadata and controls
44 lines (36 loc) · 757 Bytes
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
import net.fabricmc.loom.LoomGradlePlugin
buildscript {
repositories {
maven {
name = 'Fabric'
url = 'https://maven.fabricmc.net/'
}
maven {
name = 'TerraformersMC'
url = 'https://maven.terraformersmc.com/'
}
gradlePluginPortal()
mavenLocal()
}
dependencies {
classpath "net.fabricmc:fabric-loom:0.7-SNAPSHOT"
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
archivesBaseName = project.archive_name
group = project.maven_group
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'fabric-loom'
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = "sources"
from sourceSets.main.allSource
}
jar {
from "LICENSE"
}