Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gradle and the plugins to allow building for Java 11 and upwards #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
group 'com.nongfenqi.nexus.plugin'
version '1.1.1'


apply plugin: "io.github.goooler.osgi"
apply plugin: 'java'
sourceCompatibility = 1.8

apply plugin: 'osgi'
apply plugin: 'com.github.lburgazzoli.karaf'

buildscript {
Expand All @@ -15,19 +14,20 @@ buildscript {
}
}
dependencies {
classpath "gradle.plugin.com.github.lburgazzoli:gradle-karaf-plugin:0.0.47"
classpath "gradle.plugin.com.github.lburgazzoli:gradle-karaf-plugin:0.5.6"
classpath "io.github.goooler.osgi:gradle-legacy-osgi-plugin:0.8.2"
}
}
repositories {
mavenCentral()
}

dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compileOnly group: 'org.sonatype.nexus', name: 'nexus-plugin-api', version: '3.49.0-02'
compileOnly group: 'org.sonatype.nexus', name: 'nexus-repository', version: '3.49.0-02'
compileOnly group: 'org.sonatype.nexus', name: 'nexus-rest', version: '3.49.0-02'
compileOnly group: 'org.projectlombok', name: 'lombok', version: '1.16.18'
compileOnly 'org.projectlombok:lombok:1.18.32'
annotationProcessor 'org.projectlombok:lombok:1.18.32'
}

jar {
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 3 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#Wed Aug 09 13:56:05 CST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-rc-2-all.zip
Loading