Skip to content

Commit

Permalink
update dependencies and use gradle nexus publish plugin (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
ToppleTheNun committed Aug 8, 2021
1 parent 0374533 commit 5226a83
Show file tree
Hide file tree
Showing 16 changed files with 27 additions and 367 deletions.
3 changes: 0 additions & 3 deletions .github/cdk/.gitignore

This file was deleted.

2 changes: 0 additions & 2 deletions .github/cdk/cdkactions.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/cdk/main.ts

This file was deleted.

27 changes: 0 additions & 27 deletions .github/cdk/package.json

This file was deleted.

33 changes: 0 additions & 33 deletions .github/cdk/tsconfig.json

This file was deleted.

206 changes: 0 additions & 206 deletions .github/cdk/yarn.lock

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/cdkactions_prepare-for-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Make Gradle Wrapper Executable
run: chmod +x ./gradlew
- name: Set Gradle Version
run: ./gradlew wrapper --gradle-version 7.0.2
run: ./gradlew wrapper --gradle-version 7.1.1
- name: Test Plugin Directly with Gradle
run: ../gradlew check
working-directory: pixeloutlaw-gradle-plugin
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cdkactions_pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
gradle:
- 7.0.2
- 7.1.1
java:
- "8"
- "11"
Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/cdkactions_validate.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Prerequisites

This plugin only works with versions of Gradle >= 7.0.2.
This plugin only works with versions of Gradle >= 7.1.1.

## Gradle Projects

Expand Down
9 changes: 2 additions & 7 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
plugins {
kotlin("jvm") version "1.5.10" apply false
kotlin("jvm") version "1.5.21" apply false
id("io.pixeloutlaw.gradle")
// id("io.pixeloutlaw.spigot.build")
}

//spigotBuildTools {
// versions = listOf("1.16.4")
//}

tasks.withType<Wrapper>().configureEach {
version = "7.0.2"
version = "7.1.1"
doLast {
copy {
from(propertiesFile)
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
7 changes: 2 additions & 5 deletions pixeloutlaw-gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,8 @@ dependencies {
implementation("com.netflix.nebula:nebula-project-plugin:_")
implementation("com.netflix.nebula:gradle-contacts-plugin:_")

// maven central staging plugin
implementation("io.codearte.gradle.nexus:gradle-nexus-staging-plugin:_")

// nexus publish plugin
implementation("de.marcphilipp.gradle:nexus-publish-plugin:_")
// gradle nexus publish plugin
implementation("io.github.gradle-nexus:publish-plugin:_")

// test logger plugin
implementation("com.adarshr:gradle-test-logger-plugin:_")
Expand Down
Loading

0 comments on commit 5226a83

Please sign in to comment.