Skip to content

Commit e56ac1f

Browse files
JAVA-42437 Fix kotlin-tutorials build locally
2 parents f177ac4 + 1efad9a commit e56ac1f

File tree

2 files changed

+1
-38
lines changed

2 files changed

+1
-38
lines changed

kotlin-native/pom.xml

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -31,43 +31,6 @@
3131
</plugins>
3232
</build>
3333

34-
<!-- Define profile to handle unsupported operating systems -->
35-
<profiles>
36-
<profile>
37-
<id>unsupported-os</id>
38-
<activation>
39-
<activeByDefault>true</activeByDefault>
40-
</activation>
41-
<build>
42-
<plugins>
43-
<plugin>
44-
<groupId>org.apache.maven.plugins</groupId>
45-
<artifactId>maven-enforcer-plugin</artifactId>
46-
<version>3.0.0-M3</version>
47-
<executions>
48-
<execution>
49-
<id>enforce-os</id>
50-
<goals>
51-
<goal>enforce</goal>
52-
</goals>
53-
<configuration>
54-
<rules>
55-
<requireOS>
56-
<family>unix</family>
57-
<message>Host OS is not supported in Kotlin/Native.</message>
58-
</requireOS>
59-
</rules>
60-
<fail>true</fail>
61-
<!-- Fail the build if OS is not supported -->
62-
</configuration>
63-
</execution>
64-
</executions>
65-
</plugin>
66-
</plugins>
67-
</build>
68-
</profile>
69-
</profiles>
70-
7134
<properties>
7235
<kotlin.version>1.8.10</kotlin.version>
7336
</properties>

machine-learning/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<dependency>
2020
<groupId>org.nd4j</groupId>
2121
<artifactId>nd4j-native-platform</artifactId>
22-
<version>${dl4j.version}</version>
22+
<version>1.0.0-M2.1</version>
2323
</dependency>
2424
<dependency>
2525
<groupId>org.deeplearning4j</groupId>

0 commit comments

Comments
 (0)