Skip to content

Repository files navigation

logo

Prometheus


Introducing Prometheus

Paladium Sandboxed Lua HUD Engine

GradleBuildPublish

Gradle

To include Prometheus in your project using Gradle, add the following dependency to your build.gradle file:

repositories {
    maven {
        name = "forge"
        url = "http://repository.palagitium.dev/artifactory/Paladium-Dev"
        credentials {
            username = getRepositoryUser()
            password = getRepositoryPassword()
        }
    }
}

def getRepositoryUser() {
    if(System.getenv('MAVEN_REPO_USER') != null) {
        return System.getenv('MAVEN_REPO_USER')
    }else {
        return project.findProperty('MAVEN_REPO_USER')
    }

    return ""
}

def getRepositoryPassword() {
    if(System.getenv('MAVEN_REPO_PASS') != null) {
        return System.getenv('MAVEN_REPO_PASS')
    }else {
        return project.findProperty('MAVEN_REPO_PASS')
    }

    return ""
}

configurations.all {
   resolutionStrategy {
   	cacheDynamicVersionsFor 60, 'seconds'
   }
}

dependencies {
    compile "fr.paladium:prometheus:+:dev"
}

Build

gradlew build         # Build le projet dans le dossier Prometheus/build/libs.

Publish

gradlew publish       # Met en ligne le projet sur repository.palagitium.dev

About

Paladium Sandboxed Lua HUD Engine

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages