mirror of
https://github.com/hexedtech/codemp.git
synced 2024-12-22 21:04:53 +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
27
dist/java/build.gradle
vendored
27
dist/java/build.gradle
vendored
|
@ -70,14 +70,13 @@ configurations {
|
|||
}
|
||||
}
|
||||
|
||||
artifacts {
|
||||
windowsJar(windowsJar)
|
||||
macosJar(macosJar)
|
||||
linuxJar(linuxJar)
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_11
|
||||
artifacts {
|
||||
windowsJar(windowsJar)
|
||||
macosJar(macosJar)
|
||||
linuxJar(linuxJar)
|
||||
}
|
||||
}
|
||||
|
||||
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.JavaLibrary
|
||||
import com.vanniktech.maven.publish.JavadocJar
|
||||
mavenPublishing {
|
||||
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL) //, true) // TODO re-enable autopublish!
|
||||
signAllPublications()
|
||||
coordinates(project.group, rootProject.name, project.version)
|
||||
configure(new JavaLibrary(new JavadocJar.Javadoc(), true))
|
||||
|
||||
pom {
|
||||
name = rootProject.name
|
||||
|
|
|
@ -2,8 +2,8 @@ package mp.code.exceptions;
|
|||
|
||||
/**
|
||||
* An exception that may occur when a {@link mp.code.BufferController} or
|
||||
* a {@link mp.code.CursorController} perform an illegal operation.
|
||||
* It may also occur as a result of {@link mp.code.Workspace#event()}.
|
||||
* a {@link mp.code.CursorController} or {@link mp.code.Workspace} (in the
|
||||
* receiver part) perform an illegal operation.
|
||||
*/
|
||||
public abstract class ControllerException extends Exception {
|
||||
|
||||
|
|
Loading…
Reference in a new issue