]> git.lizzy.rs Git - BoundingBoxOutlineReloaded.git/blob - build.gradle
0b9a65110a8cdaf1fddf8ec2c71d0f0b349dd5e5
[BoundingBoxOutlineReloaded.git] / build.gradle
1 buildscript {
2     repositories {
3         jcenter()
4         maven {
5             name = 'Fabric'
6             url = 'https://maven.fabricmc.net/'
7         }
8     }
9     dependencies {
10         classpath "net.fabricmc:fabric-loom:0.2.7-SNAPSHOT"
11     }
12 }
13
14 apply plugin: 'fabric-loom'
15 apply plugin: 'java'
16 apply plugin: 'idea'
17
18 group 'com.irtimaled'
19 version project.buildVersion + '-' + project.mcVersion
20 archivesBaseName = 'BBOutlineReloaded'
21
22 sourceCompatibility = 1.8
23 targetCompatibility = 1.8
24
25 dependencies {
26     minecraft 'com.mojang:minecraft:' + project.mcVersion
27     mappings 'net.fabricmc:yarn:' + project.mcVersion + '+build.16'
28     modCompile 'net.fabricmc:fabric-loader:0.8.3+build.196'
29 }
30
31 minecraft {
32     refmapName = 'mixins.bbor.refmap.json'
33 }
34
35 processResources {
36     filesMatching('fabric.mod.json') {
37         expand version: project.version
38     }
39 }
40
41 jar {
42     manifest {
43         attributes([
44                 "Main-Class": "com.irtimaled.bbor.Main",
45                 "Specification-Title": "bbor",
46                 "Specification-Vendor": "Irtimaled",
47                 "Specification-Version": "1", // We are version 1 of ourselves
48                 "Implementation-Title": project.name,
49                 "Implementation-Version": "${version}",
50                 "Implementation-Vendor": "Irtimaled",
51                 "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
52         ])
53     }
54 }
55
56 afterEvaluate {
57     remapJar.classifier = 'fabric'
58 }