projects
/
Sone.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
aaec156
)
💚 Use kotlin plugins from gradle plugin repo
author
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Fri, 1 Nov 2019 22:25:18 +0000
(23:25 +0100)
committer
David ‘Bombe’ Roden
<bombe@pterodactylus.net>
Fri, 1 Nov 2019 22:25:18 +0000
(23:25 +0100)
build.gradle
patch
|
blob
|
history
diff --git
a/build.gradle
b/build.gradle
index
4d05c3d
..
bff4143
100644
(file)
--- a/
build.gradle
+++ b/
build.gradle
@@
-1,15
+1,7
@@
-buildscript {
- ext.kotlinVersion = '1.3.50'
- repositories {
- mavenCentral()
- }
- dependencies {
- classpath group: 'org.jetbrains.kotlin', name: 'kotlin-gradle-plugin', version: kotlinVersion
- classpath group: 'org.jetbrains.kotlin', name: 'kotlin-noarg', version: kotlinVersion
- }
-}
plugins {
plugins {
+ id 'org.jetbrains.kotlin.jvm' version '1.3.50'
+ id 'org.jetbrains.kotlin.plugin.noarg' version '1.3.50'
id 'info.solidsoft.pitest' version '1.4.5'
}
id 'info.solidsoft.pitest' version '1.4.5'
}
@@
-30,8
+22,6
@@
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
options.encoding = 'UTF-8'
}
-apply plugin: 'kotlin'
-
configurations {
provided {
dependencies.all { dep ->
configurations {
provided {
dependencies.all { dep ->
@@
-131,8
+121,6
@@
task countLines {
dependsOn tasks.countLinesTest
}
dependsOn tasks.countLinesTest
}
-apply plugin: 'kotlin-noarg'
-
noArg {
annotation('net.pterodactylus.sone.main.NoArg')
}
noArg {
annotation('net.pterodactylus.sone.main.NoArg')
}