---
# System prepended metadata

title: build.gradle

---

## build.gradle
plugins {
    id 'java'
    id 'org.jetbrains.kotlin.jvm'
}

group 'spplagiarise'
version '1.0-SNAPSHOT'

sourceCompatibility = 1.8

repositories {
    mavenCentral()

    maven {
        url "https://maven.google.com"
    }
    maven {
        url 'https://jitpack.io'
    }
}

dependencies {
    compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"

    implementation project(':core')

    implementation group: 'javax.enterprise', name: 'cdi-api', version: '2.0'
    implementation group: 'org.jboss.weld.se', name: 'weld-se-core', version: '2.4.7.Final'

    testCompile group: 'junit', name: 'junit', version: '4.12'
}

compileKotlin {
    kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
    kotlinOptions.jvmTarget = "1.8"
}

task copyDependencies(type: Copy) {
    from configurations.compile
    into 'dependencies'
}

apply plugin: 'application'
mainClassName = 'spplagiarise.MainKt'

run {
    args = ['/Users/chenzhezhi/fju/SPPlagiarise/example/config.json']
}

## beans.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://xmlns.jcp.org/xml/ns/javaee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
        http://xmlns.jcp.org/xml/ns/javaee/beans_2_0.xsd"
        version="2.0"
        bean-discovery-mode="all">
</beans>
