Skip to content

Commit

Permalink
task4: game added
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfmsu committed Oct 16, 2018
1 parent a6950cb commit f3d3e48
Show file tree
Hide file tree
Showing 96 changed files with 23,225 additions and 0 deletions.
Binary file modified assignments/04/.gradle/4.10.2/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified assignments/04/.gradle/4.10.2/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified assignments/04/.gradle/4.10.2/taskHistory/taskHistory.bin
Binary file not shown.
Binary file modified assignments/04/.gradle/4.10.2/taskHistory/taskHistory.lock
Binary file not shown.
Binary file not shown.
Binary file modified assignments/04/.gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
16 changes: 16 additions & 0 deletions assignments/04/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,18 @@ dependencies {
ktlint("com.github.shyiko", "ktlint", "0.28.0")
}

val fatJar = task("fatJar", type = Jar::class) {
baseName = "${project.name}-fat"

manifest {
attributes["Main-Class"] = "game.GameKt"
}

from(configurations.runtime.map({ if (it.isDirectory) it else zipTree(it) }))

with(tasks["jar"] as CopySpec)
}

tasks {
val ktlint by creating(JavaExec::class) {
group = "verification"
Expand All @@ -36,4 +48,8 @@ tasks {
"check" {
dependsOn(ktlint)
}

"build" {
dependsOn(fatJar)
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions assignments/04/build/kotlin/0410SNAPSHOTjar-classes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/home/alexfmsu/Git/kotlin-boot-camp/assignments/04/build/classes/kotlin/main/game/Game$Companion.class:/home/alexfmsu/Git/kotlin-boot-camp/assignments/04/build/classes/kotlin/main/game/Game.class:/home/alexfmsu/Git/kotlin-boot-camp/assignments/04/build/classes/kotlin/main/game/GameKt.class:/home/alexfmsu/Git/kotlin-boot-camp/assignments/04/build/classes/kotlin/main/game/WordHandler$Companion.class:/home/alexfmsu/Git/kotlin-boot-camp/assignments/04/build/classes/kotlin/main/game/WordHandler.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
4
3
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3011001
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9011001
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4011001
Binary file not shown.
Binary file added assignments/04/build/libs/04-fat-1.0-SNAPSHOT.jar
Binary file not shown.
3 changes: 3 additions & 0 deletions assignments/04/build/tmp/fatJar/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: game.GameKt

2 changes: 2 additions & 0 deletions assignments/04/build/tmp/jar/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Manifest-Version: 1.0

3 changes: 3 additions & 0 deletions assignments/04/build/tmp/jar2/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: game.GameKt

Loading

0 comments on commit f3d3e48

Please sign in to comment.