mirror of
https://github.com/hexedtech/codemp.git
synced 2024-12-22 21:04:53 +01:00
ci(java): require java 11
This commit is contained in:
parent
92a48db750
commit
a26f57d249
2 changed files with 11 additions and 7 deletions
4
.github/workflows/java.yml
vendored
4
.github/workflows/java.yml
vendored
|
@ -31,6 +31,10 @@ jobs:
|
|||
- uses: arduino/setup-protoc@v3
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '11'
|
||||
- uses: gradle/actions/setup-gradle@v4
|
||||
with:
|
||||
gradle-version: "8.10" # Quotes required to prevent YAML converting to number
|
||||
|
|
14
dist/java/build.gradle
vendored
14
dist/java/build.gradle
vendored
|
@ -9,36 +9,36 @@ group = 'mp.code'
|
|||
version = '0.0.1'
|
||||
|
||||
java {
|
||||
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
|
||||
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_11
|
||||
}
|
||||
|
||||
import com.vanniktech.maven.publish.SonatypeHost
|
||||
|
||||
mavenPublishing {
|
||||
// publishToMavenCentral(SonatypeHost.S01) // for snapshots
|
||||
//publishToMavenCentral(SonatypeHost.S01) // for snapshots
|
||||
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL) // central repository
|
||||
// publishToMavenCentral(SonatypeHost.DEFAULT) // ????
|
||||
// publishToMavenCentral(SonatypeHost.DEFAULT) // default
|
||||
|
||||
signAllPublications()
|
||||
|
||||
coordinates("mp.code", "codemp", "0.0.1")
|
||||
coordinates(project.group, rootProject.name, project.version)
|
||||
|
||||
pom {
|
||||
name = "codemp"
|
||||
description = "a collaborative editor plugin ecosystem"
|
||||
name = rootProject.name
|
||||
description = "A collaborative editor plugin ecosystem"
|
||||
inceptionYear = "2022"
|
||||
url = "https://code.mp/"
|
||||
licenses {
|
||||
license {
|
||||
name = "The GNU General Public License v3.0"
|
||||
url = "https://www.gnu.org/licenses/gpl-3.0.txt"
|
||||
distribution = "https://www.gnu.org/licenses/gpl-3.0.txt"
|
||||
}
|
||||
}
|
||||
developers {
|
||||
developer {
|
||||
id = "zaaarf"
|
||||
name = "zaaarf"
|
||||
email = "zaaarf@codemp.dev"
|
||||
}
|
||||
}
|
||||
scm {
|
||||
|
|
Loading…
Reference in a new issue