File tree 3 files changed +11
-14
lines changed
src/main/java/com/example
3 files changed +11
-14
lines changed Original file line number Diff line number Diff line change 55
55
echo JDK=${archive%%.tar.gz} >> $GITHUB_ENV
56
56
57
57
- name : Use specific API
58
- if : matrix.api != 'jdk '
58
+ if : matrix.api != 'org '
59
59
run : |
60
- find -name '*.java' | xargs sed -i 's/jdk \.crac/${{ matrix.api }}.crac/g'
60
+ find -name '*.java' | xargs sed -i 's/org \.crac/${{ matrix.api }}.crac/g'
61
61
git diff
62
62
63
63
- run : |
Original file line number Diff line number Diff line change 9
9
<version >1.0-SNAPSHOT</version >
10
10
11
11
<name >example-jetty</name >
12
- <!-- FIXME change it to the project's website -->
13
- <url >http://www.example.com</url >
12
+ <url >https://github.com/CRaC/example-jetty</url >
14
13
15
14
<properties >
16
15
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
28
27
<artifactId >jetty-server</artifactId >
29
28
<version >9.4.30.v20200611</version >
30
29
</dependency >
30
+ <dependency >
31
+ <groupId >org.crac</groupId >
32
+ <artifactId >crac</artifactId >
33
+ <version >0.1.3</version >
34
+ </dependency >
31
35
</dependencies >
32
36
33
37
<profiles >
54
58
<maven .compiler.source>1.8</maven .compiler.source>
55
59
<maven .compiler.target>1.8</maven .compiler.target>
56
60
</properties >
57
- <dependencies >
58
- <dependency >
59
- <groupId >io.github.crac</groupId >
60
- <artifactId >org-crac</artifactId >
61
- <version >0.1.0</version >
62
- </dependency >
63
- </dependencies >
64
61
</profile >
65
62
</profiles >
66
63
Original file line number Diff line number Diff line change 7
7
8
8
// org.crac could be used instead of jdk.crac
9
9
// https://github.com/CRaC/docs#orgcrac
10
- import jdk .crac .Context ;
11
- import jdk .crac .Core ;
12
- import jdk .crac .Resource ;
10
+ import org .crac .Context ;
11
+ import org .crac .Core ;
12
+ import org .crac .Resource ;
13
13
14
14
import org .eclipse .jetty .server .Handler ;
15
15
import org .eclipse .jetty .server .Server ;
You can’t perform that action at this time.
0 commit comments