2023-08-26 16:19:12 +02:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven {
|
|
|
|
name = 'SpongePowered'
|
|
|
|
url = 'https://repo.spongepowered.org/maven'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.4'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
|
|
|
|
2023-09-08 03:15:00 +02:00
|
|
|
group 'org.baseband'
|
|
|
|
|
2023-08-26 16:19:12 +02:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
maven {
|
|
|
|
name = 'spongepowered-repo'
|
|
|
|
url = 'https://repo.spongepowered.org/maven'
|
|
|
|
}
|
|
|
|
|
|
|
|
maven {
|
|
|
|
name = "jitpack.io"
|
|
|
|
url = "https://jitpack.io"
|
|
|
|
}
|
|
|
|
|
|
|
|
jcenter()
|
|
|
|
mavenCentral()
|
|
|
|
google()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation 'org.json:json:20230227'
|
|
|
|
}
|
|
|
|
|
|
|
|
shadowJar {
|
|
|
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
include(dependency('org.json:json:20220320'))
|
|
|
|
}
|
|
|
|
|
|
|
|
baseName = "installer"
|
|
|
|
version = "1.0"
|
|
|
|
manifest {
|
|
|
|
attributes(
|
2023-08-28 06:53:33 +02:00
|
|
|
'Main-Class': 'org.baseband.installer.Installer'
|
2023-08-26 16:19:12 +02:00
|
|
|
)
|
|
|
|
}
|
2023-09-08 03:15:00 +02:00
|
|
|
|
2023-08-26 16:19:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
build.dependsOn(shadowJar)
|