-
Notifications
You must be signed in to change notification settings - Fork 0
/
.projenrc.js
50 lines (45 loc) · 1.44 KB
/
.projenrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
const { awscdk } = require('projen');
const { Stability } = require('projen/lib/cdk');
const { UpgradeDependenciesSchedule } = require('projen/lib/javascript');
const project = new awscdk.AwsCdkConstructLibrary({
authorAddress: '[email protected]',
authorName: 'Stefan Freitag',
name: 'gradle_s3_uploader',
description: 'Uploads new Gradle versions to an S3 bucket',
repository: 'https://github.com/stefanfreitag/gradle_uploader.git',
cdkVersion: '2.160.0',
codeCov: true,
defaultReleaseBranch: 'master',
depsUpgradeOptions: {
workflowOptions: {
schedule: UpgradeDependenciesSchedule.MONTHLY,
},
},
keywords: [
'cdk', 'gradle', 's3',
],
antitamper: false,
catalog: {
twitter: 'stefanfreitag',
announce: false,
},
stability: Stability.STABLE,
scripts: {
build_layer: 'cd layer-code;./install.sh; cd ..; yarn run test && yarn run compile && yarn run package',
install_layer: 'cd layer-code;./install.sh',
},
publishToPypi: {
distName: 'cdk-gradle-uploader',
module: 'cdk_gradle_uploader',
},
publishToMaven: {
javaPackage: 'io.github.stefanfreitag.cdk.gradleuploader',
mavenGroupId: 'io.github.stefanfreitag',
mavenArtifactId: 'cdkGradleUploader',
},
typescriptVersion: '^4.3.5',
});
const common_exclude = ['.history/', '__pycache__/', 'layer-code/python/'];
project.gitignore.exclude(...common_exclude);
project.npmignore.exclude(...common_exclude);
project.synth();