Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/target/
.classpath
.project
*.settings
.editorconfig
.editorconfig
.idea/
*.iml
build/
.gradle/
out/
27 changes: 27 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
plugins {
id 'java'
}

group = 'com.lewdev'
version = '0.8'
description = 'probability-lib'
sourceCompatibility = '1.8'

repositories {
mavenCentral()
}

dependencies {
compileOnly 'org.jetbrains:annotations:19.0.0'
testImplementation 'org.openjdk.jmh:jmh-generator-annprocess:1.23'
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.1.0'
testImplementation 'org.hamcrest:hamcrest-core:2.2'
}

tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}

test {
useJUnitPlatform()
}
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 6 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Sat Jul 18 00:55:54 AWST 2020
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
185 changes: 185 additions & 0 deletions gradlew

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

104 changes: 104 additions & 0 deletions gradlew.bat

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

9 changes: 9 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@
</properties>

<dependencies>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>19.0.0</version>
<scope>compile</scope>
<!-- Change scope to provided when deploying to a repository, compile is only for the tests to pass. Use gradle
for a permanent solution.-->
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/*
* This file was generated by the Gradle 'init' task.
*/

rootProject.name = 'probability-lib'
Loading