Skip to content

Commit

Permalink
Changed version to 0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rgudwin committed Jun 9, 2022
1 parent a34082b commit a78cf46
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
apply plugin: 'application'
mainClassName = 'ExperimentMain'
version = '0.0.2'

sourceCompatibility = '1.8'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
Expand Down Expand Up @@ -28,3 +29,19 @@ dependencies {
implementation 'org.json:json:20180813'
testImplementation group: 'junit', name: 'junit', version: '4.10'
}

jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
archiveClassifier = 'full'
manifest {
attributes(
'Main-Class': mainClassName
)
}
from sourceSets.main.output
dependsOn configurations.runtimeClasspath
from {
configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect { zipTree(it) }
}
exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA'
}

0 comments on commit a78cf46

Please sign in to comment.