Fix gradle deprecation warnings (#326)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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_")
|
||||
@@ -14,7 +14,7 @@ val embedShaders = tasks.register<EmbedShadersTask>("embedShaders") {
|
||||
kotlin {
|
||||
kotlin.sourceSets.getByName("commonMain").kotlin.srcDir(embedShaders.outputDir)
|
||||
sourceSets {
|
||||
@Suppress("UNUSED_VARIABLE")
|
||||
@Suppress("UNUSED_VARIABLE")
|
||||
val commonMain by getting {
|
||||
dependencies {
|
||||
|
||||
|
||||
@@ -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_")
|
||||
|
||||
@@ -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_")
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user