/* * Module `core` du moteur Dethsquare : GameObject/Component/Script, rendu * batché (GraphicsEngine), TMX, réseau, animation. Dépend de `base` et d'un * back-end plateforme choisi par la propriété `platform` (desktop|android), * qui expose l'API LWJGL (desktop) ou GLES (android). */ plugins { id 'java-library' } def platform = (findProperty('platform') ?: 'desktop').toString() java { toolchain { languageVersion = JavaLanguageVersion.of(21) } } tasks.withType(JavaCompile).configureEach { options.release = 8 } dependencies { api project(':base') api project(":$platform") implementation 'org.json:json:20240303' }