Skip to content
Snippets Groups Projects
Select Git revision
  • a152b729204d4f0f7f9b058bdcd82d32e255c2aa
  • main default protected
  • correction_video
  • going_further
  • ImprovedMouseInteraction
  • final2023
  • template
  • ModifGUI
8 results

GameOfLifeState.java

Blame
  • Forked from YAGOUBI Rim / Game of life Template
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    build.gradle 1.23 KiB
    plugins {
        id 'java'
        id 'application'
        id 'org.javamodularity.moduleplugin' version '1.8.12'
        id 'org.openjfx.javafxplugin' version '0.1.0'
        id 'org.beryx.jlink' version '3.0.1'
    }
    
    group 'fr.univ_amu.m1info.board_game_library'
    version '1.0-SNAPSHOT'
    
    repositories {
        mavenCentral()
    }
    
    java {
        toolchain {
            languageVersion = JavaLanguageVersion.of(22)
        }
    }
    
    ext {
        junitVersion = '5.11.3'
    }
    
    tasks.withType(JavaCompile).configureEach {
        options.encoding = 'UTF-8'
    }
    
    application {
        mainModule = 'fr.univ_amu.l3mi.drawing_app'
        mainClass = 'fr.univ_amu.l3mi.drawing_app.DrawingApp'
    }
    
    javafx {
        version = '22.0.1'
        modules = ['javafx.controls', 'javafx.fxml']
    }
    
    dependencies {
        testImplementation("org.assertj:assertj-core:3.26.3")
        testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
        testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
    }
    
    test {
        useJUnitPlatform()
    }
    
    jlink {
        imageZip = project.file("${rootProject.layout.buildDirectory}/distributions/app-${javafx.platform.classifier}.zip")
        options = ['--strip-debug', '2', '--no-header-files', '--no-man-pages']
        launcher {
            name = 'app'
        }
    }
    
    jlinkZip {
        group = 'distribution'
    }