Skip to content

Commit eebc9af

Browse files
committed
Fix build deprecations
1 parent f589fa5 commit eebc9af

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ plugins {
3636
id 'net.researchgate.release' version '2.7.0'
3737
id 'io.franzbecker.gradle-lombok' version '3.2.0' apply false
3838
id "com.jfrog.artifactory" version "4.8.1" apply false
39+
id "biz.aQute.bnd" version "4.3.1" apply false
3940
}
4041

4142
subprojects {
@@ -216,6 +217,6 @@ task build {
216217
dependsOn subprojects.findResults { it.tasks.findByName('bintray') }
217218
}
218219

219-
task wrapper(type: Wrapper) {
220+
wrapper {
220221
gradleVersion = "${GRADLE_WRAPPER_VER}"
221222
}

graphql-java-servlet/build.gradle

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ buildscript {
33
jcenter()
44
mavenCentral()
55
}
6-
dependencies {
7-
classpath 'biz.aQute.bnd:biz.aQute.bnd.gradle:3.1.0'
8-
}
96
}
107

118
apply plugin: 'groovy'
@@ -14,18 +11,12 @@ apply plugin: 'java-library-distribution'
1411
apply plugin: 'biz.aQute.bnd.builder'
1512

1613
jar {
17-
manifest {
18-
instruction 'Require-Capability', 'osgi.extender'
19-
}
14+
bnd ('Require-Capability': 'osgi.extender')
2015
}
2116

22-
//afterReleaseBuild.dependsOn bintrayUpload
23-
2417
dependencies {
2518
compile(project(':graphql-java-kickstart'))
2619

27-
// compile 'org.slf4j:slf4j-api:1.7.21'
28-
2920
// Useful utilities
3021
compile 'com.google.guava:guava:24.1.1-jre'
3122

settings.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
enableFeaturePreview('STABLE_PUBLISHING')
2+
13
rootProject.name = 'graphql-java-servlet'
24

35
include ':graphql-java-kickstart'

0 commit comments

Comments
 (0)