Fix gradle deprecation warnings (#326)

This commit is contained in:
Abe Pazos
2024-01-22 07:03:49 +00:00
committed by GitHub
parent fbcdd222ef
commit 0e8ca543ab
6 changed files with 8 additions and 7 deletions

View File

@@ -9,6 +9,7 @@ dependencies {
demoImplementation(project(":orx-jvm:orx-gui"))
demoImplementation(project(":orx-shader-phrases"))
demoImplementation(project(":orx-camera"))
demoImplementation(project(":orx-shapes"))
demoImplementation(libs.slf4j.simple)
demoImplementation(libs.openrndr.ffmpeg)
demoImplementation(libs.openrndr.svg)

View File

@@ -2,10 +2,10 @@
import org.openrndr.application
import org.openrndr.color.ColorRGBa
import org.openrndr.math.CatmullRomChain2
import org.openrndr.extra.shapes.splines.CatmullRomChain2
import org.openrndr.extra.shapes.splines.toContour
import org.openrndr.math.Polar
import org.openrndr.shape.ShapeContour
import org.openrndr.shape.toContour
fun main() = application {
program {

View File

@@ -4,7 +4,7 @@ plugins {
val embedShaders = tasks.register<EmbedShadersTask>("embedShaders") {
inputDir.set(file("$projectDir/src/shaders/glsl"))
outputDir.set(file("$buildDir/generated/shaderKotlin"))
outputDir.set(layout.buildDirectory.dir("generated/shaderKotlin"))
defaultPackage.set("org.openrndr.extra.fx")
defaultVisibility.set("internal")
namePrefix.set("fx_")

View File

@@ -4,7 +4,7 @@ plugins {
val embedShaders = tasks.register<EmbedShadersTask>("embedShaders") {
inputDir.set(file("$projectDir/src/shaders/glsl"))
outputDir.set(file("$buildDir/generated/shaderKotlin"))
outputDir.set(layout.buildDirectory.dir("generated/shaderKotlin"))
defaultPackage.set("org.openrndr.extra.jumpflood")
defaultVisibility.set("internal")
namePrefix.set("jf_")

View File

@@ -5,7 +5,7 @@ plugins {
val embedShaders = tasks.register<EmbedShadersTask>("embedShaders") {
inputDir.set(file("$projectDir/src/shaders/glsl"))
outputDir.set(file("$buildDir/generated/shaderKotlin"))
outputDir.set(layout.buildDirectory.dir("generated/shaderKotlin"))
defaultPackage.set("org.openrndr.extra.noise.filters")
defaultVisibility.set("internal")
namePrefix.set("noise_")

View File

@@ -5,7 +5,7 @@ plugins {
val embedShaders = tasks.register<EmbedShadersTask>("embedShaders") {
inputDir.set(file("$projectDir/src/shaders/glsl"))
outputDir.set(file("$buildDir/generated/shaderKotlin"))
outputDir.set(layout.buildDirectory.dir("generated/shaderKotlin"))
defaultPackage.set("org.openrndr.shaderphrases.phrases")
}.get()