/*
 * This file was generated by the Gradle 'init' task.
 *
 * This generated file contains a sample Java project to get you started.
 * For more details take a look at the Java Quickstart chapter in the Gradle
 * User Manual available at https://docs.gradle.org/6.6/userguide/tutorial_java_projects.html
 */

plugins {
    // Apply the java plugin to add support for Java
    id 'java'

    // Apply the application plugin to add support for building a CLI application.
    id 'application'
}

repositories {
    // Use jcenter for resolving dependencies.
    // You can declare any Maven/Ivy/file repository here.
    jcenter()
}

dependencies {
    // This dependency is used by the application.
    implementation 'com.google.guava:guava:32.1.3-jre'
    // implementation 'org.openmama:openmama:6.3.3'
    implementation files('/home/fquinn/SourceExternal/finos/OpenMAMA/mama/jni/build/libs/openmama-6.3.0-1.jar')

    // Use JUnit test framework
    testImplementation 'junit:junit:4.13.2'
}

application {
    // Define the main class for the application.
    mainClassName = 'quickstart.App'
}

jar {
    manifest { 
        attributes "Main-Class": "$mainClassName"
    }
    from {
        configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
    }
}
