Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#### v0.5.0
\* Rewrote the buildscript and updated dependencies
\* Replaced the local static blog with an [updated online one](https://halotroop.github.io/MCUpdate)

#### v0.4.5
\* Fixed the resource proxy not working on old alpha versions.

Expand Down
70 changes: 0 additions & 70 deletions build.gradle

This file was deleted.

36 changes: 36 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
plugins {
java
application
alias(libs.plugins.shadow)
alias(libs.plugins.lombok)
}

repositories {
mavenLocal()
maven("https://maven.glass-launcher.net/releases")
maven("https://maven.glass-launcher.net/snapshots")
}

dependencies {
implementation(libs.bundles.implementation)
}

group = "net.glass-launcher"
version = "0.5.0"

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

repositories {
mavenCentral()
}

tasks.withType<JavaCompile>() {
options.encoding = "UTF-8"
}

application {
mainClass = "net.glasslauncher.legacy.Main"
}
31 changes: 31 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[versions]
# Plugins
shadow = "9.0.0-rc1"
lombok-plugin = "8.14"
# Libraries
lombok = "1.18.38"
littleproxy = "1.1.2"
littleproxy-mitm = "1.1.0"
gson = "2.9.1"
commons-validator = "1.6"
glass-site-java-api = "0.7"
glasslauncher-commons = "1.4"

[plugins]
shadow = { id = "com.gradleup.shadow", version.ref = "shadow" }
lombok = { id = "io.freefair.lombok", version.ref = "lombok-plugin" }

[libraries]
littleproxy = { module = "org.littleshoot:littleproxy", version.ref = "littleproxy" }
littleproxy-mitm = { module = "com.github.ganskef:littleproxy-mitm", version.ref = "littleproxy-mitm" }
gson = { module = "com.google.code.gson:gson", version.ref = "gson" }
commons-validator = { module = "commons-validator:commons-validator", version.ref = "commons-validator" }
glass-site-java-api = { module = "net.glasslauncher.repo:glass-site-java-api", version.ref = "glass-site-java-api" }
glasslauncher-commons = { module = "net.glasslauncher:commons", version.ref = "glasslauncher-commons" }

[bundles]
implementation = [
"littleproxy", "littleproxy-mitm",
"gson", "commons-validator",
"glass-site-java-api", "glasslauncher-commons"
]
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
7 changes: 4 additions & 3 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Sun Oct 06 22:13:54 BST 2019
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading