mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 07:14:50 +01:00
ci(java): attempt to configure java library correctly
This commit is contained in:
parent
21b76767bd
commit
b452cb822f
2 changed files with 10 additions and 21 deletions
21
dist/java/build.gradle
vendored
21
dist/java/build.gradle
vendored
|
@ -70,14 +70,13 @@ configurations {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_11
|
||||||
artifacts {
|
artifacts {
|
||||||
windowsJar(windowsJar)
|
windowsJar(windowsJar)
|
||||||
macosJar(macosJar)
|
macosJar(macosJar)
|
||||||
linuxJar(linuxJar)
|
linuxJar(linuxJar)
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
|
||||||
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_11
|
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
@ -117,24 +116,14 @@ tasks.register('nativeBuild', Jar) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
|
||||||
publications {
|
|
||||||
mavenJava(MavenPublication) {
|
|
||||||
artifact jar
|
|
||||||
//artifact sourcesJar
|
|
||||||
//artifact javadocJar
|
|
||||||
artifact windowsJar
|
|
||||||
artifact linuxJar
|
|
||||||
artifact macosJar
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
import com.vanniktech.maven.publish.SonatypeHost
|
import com.vanniktech.maven.publish.SonatypeHost
|
||||||
|
import com.vanniktech.maven.publish.JavaLibrary
|
||||||
|
import com.vanniktech.maven.publish.JavadocJar
|
||||||
mavenPublishing {
|
mavenPublishing {
|
||||||
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL) //, true) // TODO re-enable autopublish!
|
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL) //, true) // TODO re-enable autopublish!
|
||||||
signAllPublications()
|
signAllPublications()
|
||||||
coordinates(project.group, rootProject.name, project.version)
|
coordinates(project.group, rootProject.name, project.version)
|
||||||
|
configure(new JavaLibrary(new JavadocJar.Javadoc(), true))
|
||||||
|
|
||||||
pom {
|
pom {
|
||||||
name = rootProject.name
|
name = rootProject.name
|
||||||
|
|
|
@ -2,8 +2,8 @@ package mp.code.exceptions;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An exception that may occur when a {@link mp.code.BufferController} or
|
* An exception that may occur when a {@link mp.code.BufferController} or
|
||||||
* a {@link mp.code.CursorController} perform an illegal operation.
|
* a {@link mp.code.CursorController} or {@link mp.code.Workspace} (in the
|
||||||
* It may also occur as a result of {@link mp.code.Workspace#event()}.
|
* receiver part) perform an illegal operation.
|
||||||
*/
|
*/
|
||||||
public abstract class ControllerException extends Exception {
|
public abstract class ControllerException extends Exception {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue