Skip to content

Commit c5b0bd8

Browse files
committed
Support the latest version of pkg/analyzer
Prepare for release
1 parent 7cf8d49 commit c5b0bd8

File tree

7 files changed

+16
-25
lines changed

7 files changed

+16
-25
lines changed

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,25 @@ dart:
66
- stable
77

88
env:
9-
- PKG=example TASK=dartanalyzer_1
9+
- PKG=example TASK=dartanalyzer_0
1010
- PKG=example TASK=dartfmt
1111
- PKG=example TASK=test
1212
- PKG=json_annotation TASK=dartanalyzer_1
1313
- PKG=json_annotation TASK=dartfmt
1414
- PKG=json_serializable TASK=dartanalyzer_0
15-
- PKG=json_serializable TASK=dartanalyzer_1
1615
- PKG=json_serializable TASK=dartfmt
1716
- PKG=json_serializable TASK=test
1817

1918
matrix:
2019
exclude:
2120
- dart: stable
22-
env: PKG=example TASK=dartanalyzer_1
21+
env: PKG=example TASK=dartanalyzer_0
2322
- dart: stable
2423
env: PKG=example TASK=dartfmt
2524
- dart: stable
26-
env: PKG=json_serializable TASK=dartanalyzer_0
25+
env: PKG=example TASK=test
2726
- dart: stable
28-
env: PKG=json_serializable TASK=dartanalyzer_1
27+
env: PKG=json_serializable TASK=dartanalyzer_0
2928
- dart: stable
3029
env: PKG=json_serializable TASK=dartfmt
3130
- dart: stable

example/.travis.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
language: dart
22
dart:
33
- dev
4-
- stable
54

65
dart_task:
76
# Run the tests -- include the default-skipped presubmit tests
87
- test: --run-skipped
9-
10-
matrix:
11-
include:
12-
- dart: dev
13-
dart_task:
14-
dartfmt: sdk
15-
- dart: dev
16-
dart_task: dartanalyzer
8+
- dartfmt
9+
- dartanalyzer: --fatal-infos --fatal-warnings .
1710

1811
# Only building master means that we don't run two builds for each pull request.
1912
branches:

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: example
22
author: Dart Team <misc@dartlang.org>
33

44
environment:
5-
sdk: '>=1.20.1 <2.0.0'
5+
sdk: '>=2.0.0-dev <2.0.0'
66

77
dependencies:
88
json_annotation: ^0.2.2

json_serializable/.travis.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,6 @@ dart_task:
99
- dartfmt
1010
- dartanalyzer: --fatal-infos --fatal-warnings .
1111

12-
matrix:
13-
include:
14-
- dart: dev
15-
dart_task:
16-
dartfmt: sdk
17-
- dart: dev
18-
dart_task: dartanalyzer
19-
2012
# Only building master means that we don't run two builds for each pull request.
2113
branches:
2214
only: [master]

json_serializable/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.3.1+2
2+
3+
* Support the latest version of the `analyzer` package.
4+
15
## 0.3.1+1
26

37
* Expanded `package:build` support to allow version `0.12.0`.

json_serializable/lib/src/json_part_builder.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
// https://github.com/dart-lang/sdk/issues/31761
6+
// ignore_for_file: comment_references
7+
58
import 'package:build/build.dart';
69
import 'package:source_gen/source_gen.dart';
710

json_serializable/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: json_serializable
2-
version: 0.3.1+1
2+
version: 0.3.1+2
33
author: Dart Team <misc@dartlang.org>
44
description: Generates utilities to aid in serializing to/from JSON.
55
homepage: https://github.com/dart-lang/json_serializable
66
environment:
77
sdk: '>=2.0.0-dev <2.0.0'
88
dependencies:
9-
analyzer: '>=0.29.10 <0.31.0'
9+
analyzer: '>=0.29.10 <0.32.0'
1010
build: '>=0.9.0 <0.13.0'
1111
build_config: ^0.2.1
1212
cli_util: ^0.1.0

0 commit comments

Comments
 (0)