Skip to content

Instantly share code, notes, and snippets.

package org.veiset.tsar.world
import com.badlogic.gdx.math.Vector2
import org.veiset.tsar.engine2.utils.component1
import org.veiset.tsar.engine2.utils.component2
import org.veiset.tsar.engine2.utils.x
import org.veiset.tsar.world.icon.WorldIcon
import kotlin.math.absoluteValue
import kotlin.math.cos
import kotlin.math.pow
@veiset
veiset / build.gradle.kts
Created March 5, 2021 09:53
Gradle Kotlin Windows Executable
plugins {
kotlin("jvm") version "1.4.31"
id("edu.sc.seis.launch4j") version "2.4.9"
id("de.undercouch.download") version "4.1.1"
}
task("createExecutableWindows") {
val jdkVersion = "15.0.2"
val downloadUrl =
"https://download.java.net/java/GA/jdk15.0.2/0d1cfde4252546c6931946de8db48ee2/7/GPL/openjdk-15.0.2_windows-x64_bin.zip"