Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Try to publish to gradle portal
  • Loading branch information
soywiz committed Dec 17, 2019
1 parent ec2457a commit b80e5d6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Expand Up @@ -16,8 +16,10 @@ buildscript {

plugins {
id("com.moowork.node") version "1.3.1"
id 'com.gradle.plugin-publish' version '0.10.1' apply false
}


def kotlinVersion = project.properties["kotlinVersion"]?.toString() ?: ""
def isKotlinDev = kotlinVersion.contains("-release")

Expand Down
27 changes: 17 additions & 10 deletions korge-gradle-plugin/build.gradle
Expand Up @@ -3,17 +3,24 @@ apply plugin: 'kotlin'
apply plugin: "com.gradle.plugin-publish"
apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'java-gradle-plugin'

//apply plugin: 'java-gradle-plugin'
//
//gradlePlugin {
// plugins {
// korge {
// id = 'com.soywiz.korge'
// implementationClass = 'com.soywiz.korge.gradle.KorgeGradlePlugin'
// }
// }
//}
pluginBundle {
website = 'https://korge.soywiz.com/'
vcsUrl = 'https://github.com/korlibs/korge-plugins'
tags = ['korge', 'game', 'engine', 'game engine', 'multiplatform', 'kotlin']
}

gradlePlugin {
plugins {
korge {
id = 'com.soywiz.korge'
displayName = 'Korge'
description = 'Multiplatform Game Engine for Kotlin'
implementationClass = 'com.soywiz.korge.gradle.KorgeGradlePlugin'
}
}
}

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
Expand Down

0 comments on commit b80e5d6

Please sign in to comment.