Skip to content

Commit bbee903

Browse files
committed
Prepare release 1.0.0
1 parent 2bdec33 commit bbee903

File tree

3 files changed

+11
-20
lines changed

3 files changed

+11
-20
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,7 @@ fun `test my annotation processor`() {
6868
## License
6969

7070
Copyright (C) 2019 Thilo Schuchort
71+
7172
Licensed under the Mozilla Public License 2.0
73+
7274
For custom license agreements contact me directly

build.gradle

+9-9
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ plugins {
1919
apply plugin: 'kotlin'
2020
apply plugin: 'kotlin-kapt'
2121
apply plugin: 'idea'
22+
apply plugin: 'maven'
2223

2324
group 'com.tschuchort'
24-
version '1.0-SNAPSHOT'
25+
version '1.0.0'
2526

2627
sourceCompatibility = 1.8
2728

@@ -40,24 +41,23 @@ idea {
4041
}
4142

4243
dependencies {
43-
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
44-
testCompile group: 'junit', name: 'junit', version: '4.12'
44+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
45+
testImplementation group: 'junit', name: 'junit', version: '4.12'
4546

46-
testCompile "org.assertj:assertj-core:3.11.1"
47+
testImplementation "org.assertj:assertj-core:3.11.1"
4748
testImplementation "org.mockito:mockito-core:2.23.4"
4849
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.0.0"
4950

50-
compile "me.eugeniomarletti.kotlin.metadata:kotlin-metadata:1.4.0"
51-
testCompile 'com.squareup:kotlinpoet:1.0.0-RC1'
52-
testCompile 'com.squareup:javapoet:1.11.1'
51+
testImplementation 'com.squareup:kotlinpoet:1.0.0-RC1'
52+
testImplementation 'com.squareup:javapoet:1.11.1'
5353

5454
implementation "com.squareup.okio:okio:2.1.0"
5555
implementation 'io.github.classgraph:classgraph:4.6.10'
5656

5757
// the Kotlin compiler should be near the end of the list because its .jar file includes
5858
// an obsolete version of Guava
59-
compile "org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.21"
60-
compile "org.jetbrains.kotlin:kotlin-annotation-processing-embeddable:1.3.21"
59+
implementation "org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.21"
60+
implementation "org.jetbrains.kotlin:kotlin-annotation-processing-embeddable:1.3.21"
6161
}
6262

6363
compileKotlin {

src/test/kotlin/com/tschuchort/compiletesting/KotlinCompilationTests.kt

-11
Original file line numberDiff line numberDiff line change
@@ -627,15 +627,4 @@ class KotlinCompilationTests {
627627
}
628628

629629
class InheritedClass {}
630-
631-
private fun KotlinCompilation.Result.assertClassIsLoadable(className: String) {
632-
val classLoader = URLClassLoader(arrayOf(outputDirectory.toURI().toURL()),
633-
this::class.java.classLoader)
634-
635-
val clazz = classLoader.loadClass(className)
636-
assertThat(clazz).isNotNull
637-
638-
val instance = clazz.newInstance()
639-
assertThat(instance).isNotNull
640-
}
641630
}

0 commit comments

Comments
 (0)