Skip to content

Commit 7547349

Browse files
committed
Start adding gradle
1 parent 443246f commit 7547349

File tree

8 files changed

+343
-18
lines changed

8 files changed

+343
-18
lines changed

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#
2+
# https://help.github.com/articles/dealing-with-line-endings/
3+
#
4+
# These are explicitly windows files and should use crlf
5+
*.bat text eol=crlf
6+

.gitignore

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
*.class
1+
# Ignore Gradle project-specific cache directory
2+
.gradle
23

3-
.classpath
4-
.project
5-
.settings/*
6-
.idea
7-
*.iml
8-
9-
# Mobile Tools for Java (J2ME)
10-
.mtj.tmp/
11-
12-
# Package Files #
13-
*.jar
14-
*.war
15-
*.ear
16-
17-
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
18-
hs_err_pid*
19-
target/
4+
# Ignore Gradle build output directory
5+
build

build.gradle.kts

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
* This file was generated by the Gradle 'init' task.
3+
*
4+
* This generated file contains a sample Kotlin library project to get you started.
5+
*/
6+
7+
plugins {
8+
// Apply the Kotlin JVM plugin to add support for Kotlin.
9+
id("org.jetbrains.kotlin.jvm") version "1.3.41"
10+
11+
// Apply the java-library plugin for API and implementation separation.
12+
`java-library`
13+
}
14+
15+
repositories {
16+
// Use jcenter for resolving dependencies.
17+
// You can declare any Maven/Ivy/file repository here.
18+
jcenter()
19+
}
20+
21+
dependencies {
22+
// Align versions of all Kotlin components
23+
implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
24+
25+
// Use the Kotlin JDK 8 standard library.
26+
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
27+
28+
implementation("io.swagger.parser.v3:swagger-parser-v3:2.0.13")
29+
implementation("com.j2html:j2html:1.2.0")
30+
implementation("org.apache.commons:commons-collections4:4.4")
31+
implementation("commons-cli:commons-cli:1.4")
32+
implementation("commons-httpclient:commons-httpclient:3.1")
33+
34+
testImplementation("org.assertj:assertj-core:3.13.2")
35+
}

gradle/wrapper/gradle-wrapper.jar

57.3 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
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-6.0.1-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

gradlew

Lines changed: 183 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 100 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

settings.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/*
2+
* This file was generated by the Gradle 'init' task.
3+
*
4+
* The settings file is used to specify which projects to include in your build.
5+
*
6+
* Detailed information about configuring a multi-project build in Gradle can be found
7+
* in the user manual at https://docs.gradle.org/6.0.1/userguide/multi_project_builds.html
8+
*/
9+
10+
rootProject.name = "openapi-diff"

0 commit comments

Comments
 (0)