@@ -4,12 +4,18 @@ plugins {
4
4
}
5
5
6
6
java {
7
- sourceCompatibility = 1.8
8
- targetCompatibility = 1.8
7
+ sourceCompatibility = 11
8
+ targetCompatibility = 11
9
9
}
10
10
11
11
group ' io.sisu'
12
- version ' 1.8.0-SNAPSHOT'
12
+ // Given the versioning pattern x.x.x-y-z, the plan is x.x.x follows the
13
+ // expected version of nng supported. The y is the major release of this
14
+ // library against that version and z is the patch release of the major.
15
+ // Yes, it's a bit ugly, but it follows some conventions blessed by
16
+ // Oracle:
17
+ // https://docs.oracle.com/middleware/1212/core/MAVEN/maven_version.htm#MAVEN8904
18
+ version ' 1.8.0-0-0'
13
19
14
20
repositories {
15
21
mavenCentral()
@@ -33,8 +39,8 @@ project(':benchmarks') {
33
39
apply plugin : ' com.github.johnrengelman.shadow'
34
40
apply plugin : ' java'
35
41
java {
36
- sourceCompatibility = 1.8
37
- targetCompatibility = 1.8
42
+ sourceCompatibility = 11
43
+ targetCompatibility = 11
38
44
}
39
45
group = ' io.sisu.nng'
40
46
version = parent. version
@@ -59,8 +65,8 @@ project(':demo') {
59
65
apply plugin : ' com.github.johnrengelman.shadow'
60
66
apply plugin : ' java'
61
67
java {
62
- sourceCompatibility = 1.8
63
- targetCompatibility = 1.8
68
+ sourceCompatibility = 11
69
+ targetCompatibility = 11
64
70
}
65
71
group = ' io.sisu.nng'
66
72
version = parent. version
@@ -79,21 +85,19 @@ project(':demo') {
79
85
}
80
86
}
81
87
82
- /*
83
88
task runDemoAsyncServer(type : JavaExec ) {
84
89
group = " Execution"
85
90
description = " Run the Async Server demo"
86
91
classpath = sourceSets. main. runtimeClasspath
87
- main = $/io.sisu.nng.demo.async.Server/$
92
+ mainClass = $/ io.sisu.nng.demo.async.Server/ $
88
93
environment " JNA_LIBRARY_PATH" , System . getenv(" JNA_LIBRARY_PATH" )
89
94
}
90
95
91
96
task runDemoAsyncClient(type : JavaExec ) {
92
97
group = " Execution"
93
98
description = " Run the Async Client demo"
94
99
classpath = sourceSets. main. runtimeClasspath
95
- main = $/io.sisu.nng.demo.async.Client/$
100
+ mainClass = $/ io.sisu.nng.demo.async.Client/ $
96
101
environment " JNA_LIBRARY_PATH" , System . getenv(" JNA_LIBRARY_PATH" )
97
102
}
98
- */
99
103
}
0 commit comments