33 lines
758 B
Groovy
33 lines
758 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'checkstyle'
|
|
id 'com.jfrog.bintray'
|
|
id 'maven-publish'
|
|
id 'signing'
|
|
}
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
dependencies {
|
|
implementation platform("org.lwjgl:lwjgl-bom:3.2.3")
|
|
|
|
implementation 'org.lwjgl:lwjgl'
|
|
implementation 'org.lwjgl:lwjgl-glfw'
|
|
implementation 'org.lwjgl:lwjgl-opengl'
|
|
|
|
implementation project(':imgui-binding')
|
|
}
|
|
|
|
task sourcesJar(type: Jar, dependsOn: classes) {
|
|
archiveClassifier.set('sources')
|
|
from sourceSets.main.allSource
|
|
}
|
|
|
|
task javadocJar(type: Jar, dependsOn: javadoc) {
|
|
archiveClassifier.set('javadoc')
|
|
from javadoc.destinationDir
|
|
}
|
|
|
|
apply from: "$rootDir/publish.gradle"
|
|
configurePublishing('imgui-java-lwjgl3', 'Backend LWJGL3 implementation for imgui-java')
|