-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (38 loc) · 1.06 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
plugins {
id 'java'
}
apply plugin: 'maven'
group 'com.tfc'
version '1.0'
sourceCompatibility = 1.8
targetCompatibility = 1.8
configurations {
extraLibs
}
configurations.configureEach {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
repositories {
maven { url 'https://repo1.maven.org/maven2' }
maven { url 'https://jitpack.io' }
maven { url 'https://libraries.minecraft.net' }
maven { url 'https://maven.fabricmc.net' }
maven { url 'https://clojars.org/repo/' }
mavenCentral()
}
dependencies {
//https://mvnrepository.com/artifact/org.json/json
extraLibs 'org.json:json:20230618'
extraLibs group: 'net.lingala.zip4j', name: 'zip4j', version: '2.6.3'
//Flame Mod Loader (main)
extraLibs 'com.github.GiantLuigi4:FlameLoader:master-SNAPSHOT'
configurations.compile.extendsFrom(configurations.extraLibs)
}
jar {
manifest {
attributes 'Main-Class': 'com.github.lorenzopapi.FlameInstaller'
}
from {
configurations.extraLibs.collect { it.isDirectory() ? it : zipTree(it) }
}
}