Skip to content

Commit

Permalink
Move build to gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Tapac committed Jul 5, 2022
1 parent 1d44eb1 commit d6bb31e
Show file tree
Hide file tree
Showing 25 changed files with 302 additions and 273 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ Gemfile.lock
*.gem
.bundle
.idea
.gradle
build
1 change: 0 additions & 1 deletion .idea/.name

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/artifacts/swot_jar.xml

This file was deleted.

21 changes: 2 additions & 19 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions .idea/copyright/profiles_settings.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/encodings.xml

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/libraries/KotlinJavaRuntime.xml

This file was deleted.

9 changes: 0 additions & 9 deletions .idea/libraries/junit.xml

This file was deleted.

12 changes: 5 additions & 7 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

23 changes: 0 additions & 23 deletions .idea/runConfigurations/Build_Swot.xml

This file was deleted.

30 changes: 0 additions & 30 deletions .idea/runConfigurations/SwotTest.xml

This file was deleted.

5 changes: 0 additions & 5 deletions .idea/scopes/scope_settings.xml

This file was deleted.

125 changes: 0 additions & 125 deletions .idea/uiDesigner.xml

This file was deleted.

1 change: 0 additions & 1 deletion .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
group = "swot"
version = "0.1"

plugins {
kotlin("jvm") version "1.7.0" apply true

id("application")
}

repositories {
mavenCentral()
}

dependencies {
implementation(kotlin("stdlib"))
testImplementation("junit", "junit", "4.13.2")
}

application {
mainClass.set("swot.CompilerKt")
}

tasks.withType<Test> {
useJUnit()

testLogging {
events("passed", "skipped", "failed")
}
}
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit d6bb31e

Please sign in to comment.