mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 15:24:48 +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
|
- uses: arduino/setup-protoc@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: 'temurin'
|
||||||
|
java-version: '11'
|
||||||
- uses: gradle/actions/setup-gradle@v4
|
- uses: gradle/actions/setup-gradle@v4
|
||||||
with:
|
with:
|
||||||
gradle-version: "8.10" # Quotes required to prevent YAML converting to number
|
gradle-version: "8.10" # Quotes required to prevent YAML converting to number
|
||||||
|
|
12
dist/java/build.gradle
vendored
12
dist/java/build.gradle
vendored
|
@ -9,7 +9,7 @@ group = 'mp.code'
|
||||||
version = '0.0.1'
|
version = '0.0.1'
|
||||||
|
|
||||||
java {
|
java {
|
||||||
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
|
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_11
|
||||||
}
|
}
|
||||||
|
|
||||||
import com.vanniktech.maven.publish.SonatypeHost
|
import com.vanniktech.maven.publish.SonatypeHost
|
||||||
|
@ -17,28 +17,28 @@ import com.vanniktech.maven.publish.SonatypeHost
|
||||||
mavenPublishing {
|
mavenPublishing {
|
||||||
//publishToMavenCentral(SonatypeHost.S01) // for snapshots
|
//publishToMavenCentral(SonatypeHost.S01) // for snapshots
|
||||||
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL) // central repository
|
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL) // central repository
|
||||||
// publishToMavenCentral(SonatypeHost.DEFAULT) // ????
|
// publishToMavenCentral(SonatypeHost.DEFAULT) // default
|
||||||
|
|
||||||
signAllPublications()
|
signAllPublications()
|
||||||
|
|
||||||
coordinates("mp.code", "codemp", "0.0.1")
|
coordinates(project.group, rootProject.name, project.version)
|
||||||
|
|
||||||
pom {
|
pom {
|
||||||
name = "codemp"
|
name = rootProject.name
|
||||||
description = "a collaborative editor plugin ecosystem"
|
description = "A collaborative editor plugin ecosystem"
|
||||||
inceptionYear = "2022"
|
inceptionYear = "2022"
|
||||||
url = "https://code.mp/"
|
url = "https://code.mp/"
|
||||||
licenses {
|
licenses {
|
||||||
license {
|
license {
|
||||||
name = "The GNU General Public License v3.0"
|
name = "The GNU General Public License v3.0"
|
||||||
url = "https://www.gnu.org/licenses/gpl-3.0.txt"
|
url = "https://www.gnu.org/licenses/gpl-3.0.txt"
|
||||||
distribution = "https://www.gnu.org/licenses/gpl-3.0.txt"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
developers {
|
developers {
|
||||||
developer {
|
developer {
|
||||||
id = "zaaarf"
|
id = "zaaarf"
|
||||||
name = "zaaarf"
|
name = "zaaarf"
|
||||||
|
email = "zaaarf@codemp.dev"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
scm {
|
scm {
|
||||||
|
|
Loading…
Reference in a new issue