Skip to content

Commit 3bc36f1

Browse files
committed
Publish on maven central #2
1 parent a52e6fc commit 3bc36f1

File tree

3 files changed

+25
-8
lines changed

3 files changed

+25
-8
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22
title="Kotlin Logo" width="120">
33

44
# Kotlin Compile Testing
5-
5+
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.tschuchortdev/kotlin-compile-testing/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.tschuchortdev/kotlin-compile-testing)
66
[![](https://jitpack.io/v/tschuchortdev/kotlin-compile-testing.svg)](https://jitpack.io/#tschuchortdev/kotlin-compile-testing)
77
![GitHub](https://img.shields.io/github/license/tschuchortdev/kotlin-compile-testing.svg?color=green&style=popout)
88
![Maintenance](https://img.shields.io/maintenance/yes/2019.svg?style=popout)
99
[![Generic badge](https://img.shields.io/badge/contributions-welcome-green.svg)](https://shields.io/)
1010
[![Build Status](https://travis-ci.com/tschuchortdev/kotlin-compile-testing.svg?branch=master)](https://travis-ci.com/tschuchortdev/kotlin-compile-testing)
1111
[![Build status](https://ci.appveyor.com/api/projects/status/jj639rc6whehaf9o?svg=true)](https://ci.appveyor.com/project/tschuchortdev/kotlin-compile-testing)
1212

13-
A library for in-process compilation of Kotlin and Java code, in the spirit of [Google Compile Testing](https://github.com/google/compile-testing). For example, you can use this library to test your annotation processors.
13+
A library for in-process compilation of Kotlin and Java code, in the spirit of [Google Compile Testing](https://github.com/google/compile-testing). For example, you can use this library to test your annotation processor or compiler plugin.
1414

1515
## Use Cases
1616

1717
- Compile Kotlin and Java code in tests
18-
- Test your annotation processors
19-
- Test your compiler plugins
18+
- Test annotation processors
19+
- Test compiler plugins
2020
- Test Kotlin code generation
2121

2222
## Example

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ buildscript {
88

99
dependencies {
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11+
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.8.0'
12+
1113
}
1214
}
1315

@@ -20,9 +22,7 @@ apply plugin: 'kotlin'
2022
apply plugin: 'kotlin-kapt'
2123
apply plugin: 'idea'
2224
apply plugin: 'maven'
23-
24-
group 'com.tschuchort'
25-
version '1.2.2'
25+
apply plugin: 'com.vanniktech.maven.publish'
2626

2727
sourceCompatibility = 1.8
2828

gradle.properties

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,19 @@
11
kotlin.code.style=official
2-
kotlin.incremental=false
2+
kotlin.incremental=false
3+
4+
GROUP=com.github.tschuchortdev
5+
VERSION_NAME=1.2.3-SNAPSHOT
6+
POM_DESCRIPTION=A library that enables testing of Kotlin annotation processors, compiler plugins and code generation.
7+
POM_INCEPTION_YEAR=2019
8+
POM_URL=https://github.com/tschuchortdev/kotlin-compile-testing
9+
POM_SCM_URL=https://github.com/tschuchortdev/kotlin-compile-testing
10+
POM_SCM_CONNECTION=scm:git:https://github.com/tschuchortdev/kotlin-compile-testing
11+
POM_SCM_DEV_CONNECTION=scm:git:https://github.com/tschuchortdev/kotlin-compile-testing
12+
POM_LICENCE_NAME=Mozilla Public License 2.0
13+
POM_LICENCE_URL=https://www.mozilla.org/en-US/MPL/2.0/
14+
POM_LICENCE_DIST=repo
15+
POM_DEVELOPER_ID=tschuchortdev
16+
POM_DEVELOPER_NAME=Thilo Schuchort
17+
POM_ARTIFACT_ID=kotlin-compile-testing
18+
POM_NAME=kotlin-compile-testing
19+
POM_PACKAGING=jar

0 commit comments

Comments
 (0)