Skip to content

Commit 2a56e73

Browse files
committed
up
1 parent 4c5a91c commit 2a56e73

File tree

7 files changed

+49
-26
lines changed

7 files changed

+49
-26
lines changed

.idea/modules.xml

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

.idea/modules/kotlin-unsigned.iml

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

build.gradle

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
1-
apply plugin: 'maven'
2-
apply plugin: 'kotlin'
3-
4-
apply plugin: 'com.github.johnrengelman.shadow'
5-
6-
ext.moduleName = 'com.github.kotlin_graphics.kotlin_unsigned'
7-
81
buildscript {
92

10-
ext.kotlinVersion = '1.3.10'
3+
ext.kotlin_version = '1.3.10'
114

125
repositories {
136
jcenter() // shadow
147
mavenCentral()
15-
maven { url = "https://dl.bintray.com/kotlin/kotlin-eap" }
8+
// maven { url = "https://dl.bintray.com/kotlin/kotlin-eap" }
169
}
1710
dependencies {
18-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
11+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1912
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.4'
2013
classpath "org.junit.platform:junit-platform-gradle-plugin:1.2.0"
2114
}
2215
}
2316

17+
plugins {
18+
id 'maven'
19+
id "org.jetbrains.kotlin.jvm" version "1.3.10"
20+
id "com.github.johnrengelman.shadow" version "2.0.4"
21+
}
22+
23+
ext.moduleName = 'com.github.kotlin_graphics.kotlin_unsigned'
24+
2425
dependencies {
2526

26-
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
27+
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
2728

2829
testImplementation 'io.kotlintest:kotlintest-runner-junit5:3.1.10'
2930
}
@@ -34,13 +35,6 @@ repositories {
3435
maven { url = "https://jitpack.io" }
3536
}
3637

37-
38-
allprojects {
39-
sourceCompatibility = 1.7
40-
targetCompatibility = 1.7
41-
}
42-
43-
4438
task sourcesJar(type: Jar, dependsOn: classes) {
4539
classifier = 'sources'
4640
from sourceSets.main.allSource
@@ -61,4 +55,8 @@ jar {
6155
manifest {
6256
attributes('Automatic-Module-Name': moduleName)
6357
}
58+
}
59+
60+
test {
61+
useJUnitPlatform()
6462
}

gradle/wrapper/gradle-wrapper.jar

1.01 KB
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Sun Dec 17 10:10:22 CET 2017
1+
#Tue Nov 27 10:15:46 CET 2018
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.0-all.zip

gradlew

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ APP_NAME="Gradle"
2828
APP_BASE_NAME=`basename "$0"`
2929

3030
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31-
DEFAULT_JVM_OPTS=""
31+
DEFAULT_JVM_OPTS='"-Xmx64m"'
3232

3333
# Use the maximum available, or set MAX_FD != -1 to use that value.
3434
MAX_FD="maximum"

gradlew.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ set APP_BASE_NAME=%~n0
1414
set APP_HOME=%DIRNAME%
1515

1616
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17-
set DEFAULT_JVM_OPTS=
17+
set DEFAULT_JVM_OPTS="-Xmx64m"
1818

1919
@rem Find java.exe
2020
if defined JAVA_HOME goto findJavaFromJavaHome

0 commit comments

Comments
 (0)