Skip to content

Commit 163abf4

Browse files
committed
Use jitpack dependency
1 parent 2c78ca5 commit 163abf4

File tree

6 files changed

+19
-13
lines changed

6 files changed

+19
-13
lines changed

build.gradle

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
buildscript {
22
ext.kotlin_version = "1.3.0"
3+
repositories {
4+
mavenCentral()
5+
jcenter()
6+
}
7+
dependencies {
8+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
9+
}
310
}
411

512
plugins {
6-
id 'org.jetbrains.github.jvm' version '1.3.0'
13+
id "org.jetbrains.kotlin.jvm" version "1.3.0"
714
}
815

9-
group 'vladsaif.recognized.union'
16+
group 'com.github.recognized'
1017
version '1.0'
1118

1219
repositories {
13-
mavenCentral()
14-
flatDir {
15-
dirs 'libs'
16-
}
20+
jcenter()
21+
maven { url "https://jitpack.io" }
1722
}
1823

1924
task sourcesJar(type: Jar, dependsOn: classes) {
@@ -25,9 +30,9 @@ task sourcesJar(type: Jar, dependsOn: classes) {
2530
assemble.dependsOn(sourcesJar)
2631

2732
dependencies {
28-
implementation "org.jetbrains.github:github-stdlib-jdk8"
29-
implementation files("libs/github-recognized-extensions-1.0-withSources.jar")
30-
testImplementation "org.jetbrains.github:github-test-junit:$kotlin_version"
33+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.0"
34+
implementation "com.github.Recognized:kotlin-ranges-extensions:v1.01"
35+
testImplementation "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
3136
}
3237

3338
compileKotlin {
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#Sat Dec 15 20:12:26 MSK 2018
12
distributionBase=GRADLE_USER_HOME
23
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10-all.zip
-10.7 KB
Binary file not shown.

src/main/kotlin/com/github/recognized/kotlin/ranges/union/LongRangeUnion.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.github.recognized.kotlin.ranges.union
22

3-
import vladsaif.kotlin.ranges.extensions.*
3+
import com.github.recognized.kotlin.ranges.extensions.*
44
import kotlin.math.max
55
import kotlin.math.min
66

src/test/kotlin/com/github/recognized/kotlin/ranges/union/IntRangeUnionTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package com.github.recognized.kotlin.ranges.union
22

3+
import com.github.recognized.kotlin.ranges.extensions.from
34
import org.junit.Assert.assertEquals
45
import org.junit.Assert.assertTrue
56
import org.junit.Test
6-
import vladsaif.kotlin.ranges.extensions.from
77
import java.util.*
88

99
class IntRangeUnionTest {

src/test/kotlin/com/github/recognized/kotlin/ranges/union/LongRangeUnionTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.github.recognized.kotlin.ranges.union
22

3+
import com.github.recognized.kotlin.ranges.extensions.from
34
import org.junit.Test
4-
import vladsaif.kotlin.ranges.extensions.from
55
import java.util.*
66
import kotlin.test.assertEquals
77
import kotlin.test.assertTrue

0 commit comments

Comments
 (0)