Files
PixelDocs/flash/installation.md
T
Relism 6b96bf7102 Added automatically generating banner cards for each md page file that has
---
banner_title: "..."
banner_description: "..."
---
2024-12-23 22:40:08 +01:00

1.9 KiB

banner_title, banner_description
banner_title banner_description
Flash - Installation A guide on how to install the Flash library in your project.
<script setup> import { ref, onMounted } from 'vue'; const latestVersion = ref(''); onMounted(async () => { try { const response = await fetch('https://maven.pixel-services.com/api/maven/details/releases/com/pixelservices/flash'); const data = await response.json(); const versions = data.files.filter(file => file.type === 'DIRECTORY').map(file => file.name); latestVersion.value = versions.sort().pop(); } catch (error) { console.error('Error fetching latest version:', error); latestVersion.value = 'Error fetching version'; } }) </script>

📲 Installation

This page provides installation instructions for the latest version of the flash library from Pixel Services.

Installation

Maven (pom.xml)

  1. Add the repository :

    <repositories>
      <repository>
        <id>pixel-services</id>
        <name>Pixel Services</name>
        <url>https://maven.pixel-services.com/repository</url>
      </repository>
    </repositories>
    
  2. And the dependency :

    <dependencies>
      <dependency>
        <groupId>com.pixelservices</groupId>
        <artifactId>flash</artifactId>
        <version>{{ latestVersion }}</version>
      </dependency>
    </dependencies>
    

Gradle (build.gradle)

  1. Add the repository :

    repositories {
        maven {
            url "https://maven.pixel-services.com/repository"
        }
    }
    
  2. And the dependency :

    dependencies {
        implementation 'com.pixelservices:flash:{{ latestVersion }}'
    }
    
Latest version: {{ latestVersion }}