Skip to content
Snippets Groups Projects
Commit 2faf1546 authored by Sebastian Krings's avatar Sebastian Krings
Browse files

migrate build to gradle 2

parent 76d989aa
No related branches found
No related tags found
No related merge requests found
......@@ -4,18 +4,24 @@ project.group = 'de.stups'
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'eu.appsatori:gradle-fatjar-plugin:0.2-rc1'
// classpath 'eu.appsatori:gradle-fatjar-plugin:0.2-rc1'
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.2'
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'maven'
apply plugin: 'fatjar'
//apply plugin: 'fatjar'
apply plugin: 'application'
apply plugin: 'com.github.johnrengelman.shadow'
repositories {
......@@ -68,7 +74,14 @@ test {
}
mainClassName = 'de.stups.probkodkod.KodkodInteraction'
jar {
manifest {
attributes 'Main-Class': mainClassName,
'Implementation-Title': 'ProB Kodkod',
'Implementation-Version': project.version
}
include '**/*.class'
include '**/*.java'
exclude '**.*.scc'
......@@ -77,8 +90,3 @@ jar {
include '**/*.properties'
from configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment