Skip to content

Commit d6bb31e

Browse files
committed
Move build to gradle
1 parent 1d44eb1 commit d6bb31e

25 files changed

+302
-273
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ Gemfile.lock
33
*.gem
44
.bundle
55
.idea
6+
.gradle
7+
build

.idea/.name

-1
This file was deleted.

.idea/artifacts/swot_jar.xml

-8
This file was deleted.

.idea/compiler.xml

+2-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/copyright/profiles_settings.xml

-3
This file was deleted.

.idea/encodings.xml

-6
This file was deleted.

.idea/libraries/KotlinJavaRuntime.xml

-11
This file was deleted.

.idea/libraries/junit.xml

-9
This file was deleted.

.idea/misc.xml

+5-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

-8
This file was deleted.

.idea/runConfigurations/Build_Swot.xml

-23
This file was deleted.

.idea/runConfigurations/SwotTest.xml

-30
This file was deleted.

.idea/scopes/scope_settings.xml

-5
This file was deleted.

.idea/uiDesigner.xml

-125
This file was deleted.

.idea/vcs.xml

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle.kts

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
group = "swot"
2+
version = "0.1"
3+
4+
plugins {
5+
kotlin("jvm") version "1.7.0" apply true
6+
7+
id("application")
8+
}
9+
10+
repositories {
11+
mavenCentral()
12+
}
13+
14+
dependencies {
15+
implementation(kotlin("stdlib"))
16+
testImplementation("junit", "junit", "4.13.2")
17+
}
18+
19+
application {
20+
mainClass.set("swot.CompilerKt")
21+
}
22+
23+
tasks.withType<Test> {
24+
useJUnit()
25+
26+
testLogging {
27+
events("passed", "skipped", "failed")
28+
}
29+
}

gradle/wrapper/gradle-wrapper.jar

54.9 KB
Binary file not shown.
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)