1- <?xml version =" 1.0" ?>
2- <project >
3- <modelVersion >4.0.0</modelVersion >
4- <name >TeamCity Config DSL Script</name >
5- <groupId >kotlinx.team.infra</groupId >
6- <artifactId >teamcity</artifactId >
7- <version >1.0-SNAPSHOT</version >
8-
9- <parent >
10- <groupId >org.jetbrains.teamcity</groupId >
11- <artifactId >configs-dsl-kotlin-parent</artifactId >
12- <version >1.0-SNAPSHOT</version >
13- </parent >
14-
15- <repositories >
16- <repository >
17- <id >jetbrains-all</id >
18- <url >https://download.jetbrains.com/teamcity-repository</url >
19- <snapshots >
20- <enabled >true</enabled >
21- </snapshots >
22- </repository >
23- <repository >
24- <id >teamcity-server</id >
25- <url >https://teamcity.jetbrains.com/app/dsl-plugins-repository</url >
26- <snapshots >
27- <enabled >true</enabled >
28- </snapshots >
29- </repository >
30- </repositories >
31-
32- <pluginRepositories >
33- <pluginRepository >
34- <id >JetBrains</id >
35- <url >https://download.jetbrains.com/teamcity-repository</url >
36- </pluginRepository >
37- </pluginRepositories >
38-
39- <build >
40- <sourceDirectory >.</sourceDirectory >
41- <plugins >
42- <plugin >
43- <artifactId >kotlin-maven-plugin</artifactId >
44- <groupId >org.jetbrains.kotlin</groupId >
45- <version >${kotlin.version} </version >
46-
47- <configuration />
48- <executions >
49- <execution >
50- <id >compile</id >
51- <phase >process-sources</phase >
52- <goals >
53- <goal >compile</goal >
54- </goals >
55- </execution >
56- <execution >
57- <id >test-compile</id >
58- <phase >process-test-sources</phase >
59- <goals >
60- <goal >test-compile</goal >
61- </goals >
62- </execution >
63- </executions >
64- </plugin >
65- <plugin >
66- <groupId >org.jetbrains.teamcity</groupId >
67- <artifactId >teamcity-configs-maven-plugin</artifactId >
68- <version >${teamcity.dsl.version} </version >
69- <configuration >
70- <format >kotlin</format >
71- <dstDir >target/generated-configs</dstDir >
72- </configuration >
73- </plugin >
74- </plugins >
75- </build >
76-
77- <dependencies >
78- <dependency >
79- <groupId >org.jetbrains.teamcity</groupId >
80- <artifactId >configs-dsl-kotlin</artifactId >
81- <version >${teamcity.dsl.version} </version >
82- <scope >compile</scope >
83- </dependency >
84- <dependency >
85- <groupId >org.jetbrains.teamcity</groupId >
86- <artifactId >configs-dsl-kotlin-plugins</artifactId >
87- <version >1.0-SNAPSHOT</version >
88- <type >pom</type >
89- <scope >compile</scope >
90- </dependency >
91- <dependency >
92- <groupId >org.jetbrains.kotlin</groupId >
93- <artifactId >kotlin-stdlib-jdk8</artifactId >
94- <version >${kotlin.version} </version >
95- <scope >compile</scope >
96- </dependency >
97- <dependency >
98- <groupId >org.jetbrains.kotlin</groupId >
99- <artifactId >kotlin-script-runtime</artifactId >
100- <version >${kotlin.version} </version >
101- <scope >compile</scope >
102- </dependency >
103- </dependencies >
1+ <?xml version =" 1.0" ?>
2+ <project >
3+ <modelVersion >4.0.0</modelVersion >
4+ <name >TeamCity Config DSL Script</name >
5+ <groupId >kotlinx.team.infra</groupId >
6+ <artifactId >teamcity</artifactId >
7+ <version >1.0-SNAPSHOT</version >
8+
9+ <parent >
10+ <groupId >org.jetbrains.teamcity</groupId >
11+ <artifactId >configs-dsl-kotlin-parent</artifactId >
12+ <version >1.0-SNAPSHOT</version >
13+ </parent >
14+
15+ <repositories >
16+ <repository >
17+ <id >jetbrains-all</id >
18+ <url >https://download.jetbrains.com/teamcity-repository</url >
19+ <snapshots >
20+ <enabled >true</enabled >
21+ </snapshots >
22+ </repository >
23+ <repository >
24+ <id >teamcity-server</id >
25+ <url >https://teamcity.jetbrains.com/app/dsl-plugins-repository</url >
26+ <snapshots >
27+ <enabled >true</enabled >
28+ </snapshots >
29+ </repository >
30+ </repositories >
31+
32+ <pluginRepositories >
33+ <pluginRepository >
34+ <id >JetBrains</id >
35+ <url >https://download.jetbrains.com/teamcity-repository</url >
36+ </pluginRepository >
37+ </pluginRepositories >
38+
39+ <build >
40+ <sourceDirectory >.</sourceDirectory >
41+ <plugins >
42+ <plugin >
43+ <artifactId >kotlin-maven-plugin</artifactId >
44+ <groupId >org.jetbrains.kotlin</groupId >
45+ <version >${kotlin.version} </version >
46+
47+ <configuration />
48+ <executions >
49+ <execution >
50+ <id >compile</id >
51+ <phase >process-sources</phase >
52+ <goals >
53+ <goal >compile</goal >
54+ </goals >
55+ </execution >
56+ <execution >
57+ <id >test-compile</id >
58+ <phase >process-test-sources</phase >
59+ <goals >
60+ <goal >test-compile</goal >
61+ </goals >
62+ </execution >
63+ </executions >
64+ </plugin >
65+ <plugin >
66+ <groupId >org.jetbrains.teamcity</groupId >
67+ <artifactId >teamcity-configs-maven-plugin</artifactId >
68+ <version >${teamcity.dsl.version} </version >
69+ <configuration >
70+ <format >kotlin</format >
71+ <dstDir >target/generated-configs</dstDir >
72+ </configuration >
73+ </plugin >
74+ </plugins >
75+ </build >
76+
77+ <dependencies >
78+ <dependency >
79+ <groupId >org.jetbrains.teamcity</groupId >
80+ <artifactId >configs-dsl-kotlin-latest </artifactId >
81+ <version >${teamcity.dsl.version} </version >
82+ <scope >compile</scope >
83+ </dependency >
84+ <dependency >
85+ <groupId >org.jetbrains.teamcity</groupId >
86+ <artifactId >configs-dsl-kotlin-plugins-latest </artifactId >
87+ <version >1.0-SNAPSHOT</version >
88+ <type >pom</type >
89+ <scope >compile</scope >
90+ </dependency >
91+ <dependency >
92+ <groupId >org.jetbrains.kotlin</groupId >
93+ <artifactId >kotlin-stdlib-jdk8</artifactId >
94+ <version >${kotlin.version} </version >
95+ <scope >compile</scope >
96+ </dependency >
97+ <dependency >
98+ <groupId >org.jetbrains.kotlin</groupId >
99+ <artifactId >kotlin-script-runtime</artifactId >
100+ <version >${kotlin.version} </version >
101+ <scope >compile</scope >
102+ </dependency >
103+ </dependencies >
104104</project >
0 commit comments