BaseBandRewrite/Installer/build.gradle

63 lines
1.2 KiB
Groovy
Raw Normal View History

2023-09-19 11:25:48 +02:00
import javax.swing.JOptionPane
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'
group 'org.baseband'
2023-09-19 11:25:48 +02:00
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'
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'))
}
2023-10-03 20:18:24 +02:00
baseName = "Installer"
version = "1.0.0"
2023-08-26 16:19:12 +02:00
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-08-26 16:19:12 +02:00
}
build.dependsOn(shadowJar)