Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
k0psutin committed May 16, 2021
1 parent 6f4bff5 commit 7f60b49
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ plugins {

version = '1.0'

task packJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'Tiralabra: Pathfinding',
'Implementation-Version': archiveVersion,
'Main-Class': 'pathfinding.main.Main'
}
archiveBaseName = rootProject.name
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}

repositories {
jcenter()
}
Expand Down Expand Up @@ -33,24 +44,13 @@ checkstyle {
dependencies {
testImplementation 'junit:junit:4.13'
implementation 'com.google.guava:guava:29.0-jre'
implementation group: 'org.json', name: 'json', version: '20210307'
compile group: 'org.json', name: 'json', version: '20210307'
}

application {
mainClass = 'pathfinding.main.Main'
}

task packJar(type: Jar) {
manifest {
attributes 'Implementation-Title': 'Tiralabra: Pathfinding',
'Implementation-Version': archiveVersion,
'Main-Class': 'pathfinding.main.Main'
}
archiveBaseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}

import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import org.gradle.api.tasks.testing.logging.TestLogEvent

Expand Down

0 comments on commit 7f60b49

Please sign in to comment.