Skip to content

Commit

Permalink
Remove the remaining legacy java code
Browse files Browse the repository at this point in the history
  • Loading branch information
NovaFox161 committed Sep 3, 2023
1 parent ab93eec commit 7c2e689
Show file tree
Hide file tree
Showing 14 changed files with 5 additions and 626 deletions.
11 changes: 5 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import org.gradle.api.tasks.wrapper.Wrapper.DistributionType.ALL
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
java

//kotlin
kotlin("jvm")
kotlin("plugin.serialization")
Expand Down Expand Up @@ -37,10 +35,6 @@ allprojects {
apply(plugin = "kotlin")
apply(plugin = "io.spring.dependency-management")

//Compiler nonsense
java.sourceCompatibility = JavaVersion.VERSION_17
java.targetCompatibility = JavaVersion.VERSION_17

// Versions --- found in gradle.properties
val kotlinVersion: String by properties
// Tool
Expand Down Expand Up @@ -122,6 +116,11 @@ allprojects {
implementation("org.jsoup:jsoup:$jsoupVersion")
}

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

kotlin {
sourceSets {
all {
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.dreamexposure.discal.client

import org.dreamexposure.discal.Application
import org.dreamexposure.discal.client.message.Messages
import org.dreamexposure.discal.core.config.Config
import org.dreamexposure.discal.core.logger.LOGGER
import org.dreamexposure.discal.core.utils.GlobalVal.DEFAULT
Expand All @@ -17,9 +16,6 @@ class DisCalClient {
fun main(args: Array<String>) {
Config.init()

//Load lang files
Messages.reloadLangs().subscribe()

//Start Spring
try {
SpringApplicationBuilder(Application::class.java).run(*args)
Expand Down
Loading

0 comments on commit 7c2e689

Please sign in to comment.