Skip to content

Commit

Permalink
Added Support for Jitpack
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark7625 committed Jan 4, 2021
1 parent 83b7be9 commit 4115f82
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
.idea*/
build*/
cache*/
.gradle*/

# Package Files #
*.jar
Expand Down
Binary file modified .gradle/6.7/executionHistory/executionHistory.bin
Binary file not shown.
Binary file modified .gradle/6.7/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified .gradle/6.7/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/6.7/fileHashes/fileHashes.lock
Binary file not shown.
23 changes: 22 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
buildscript {
ext.kotlin_version = '1.3.20'

repositories {
maven { url "https://jitpack.io" }
mavenCentral()

}

dependencies {
compile 'com.googlecode.json-simple:json-simple:1.1.1'
}
}


plugins {
id 'org.jetbrains.kotlin.jvm' version '1.4.10'
id 'org.jetbrains.kotlin.jvm' version '1.3.20'
}

group 'org.example'
Expand All @@ -10,6 +25,12 @@ repositories {
maven { url "https://jitpack.io" }
}

jar {
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib"
compile 'com.googlecode.json-simple:json-simple:1.1.1'
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 4115f82

Please sign in to comment.