BAEL-586 moved code to com.baeldung.kotlin package, use version properties in pom.xml
This commit is contained in:
		
							parent
							
								
									fde39503a3
								
							
						
					
					
						commit
						9512edb667
					
				| @ -12,18 +12,18 @@ | |||||||
|         <dependency> |         <dependency> | ||||||
|             <groupId>org.jetbrains.kotlin</groupId> |             <groupId>org.jetbrains.kotlin</groupId> | ||||||
|             <artifactId>kotlin-stdlib</artifactId> |             <artifactId>kotlin-stdlib</artifactId> | ||||||
|             <version>1.0.4</version> |             <version>${kotlin-stdlib.version}</version> | ||||||
|         </dependency> |         </dependency> | ||||||
|         <dependency> |         <dependency> | ||||||
|             <groupId>org.jetbrains.kotlin</groupId> |             <groupId>org.jetbrains.kotlin</groupId> | ||||||
|             <artifactId>kotlin-test-junit</artifactId> |             <artifactId>kotlin-test-junit</artifactId> | ||||||
|             <version>1.0.4</version> |             <version>${kotlin-test-junit.version}</version> | ||||||
|             <scope>test</scope> |             <scope>test</scope> | ||||||
|         </dependency> |         </dependency> | ||||||
|         <dependency> |         <dependency> | ||||||
|             <groupId>junit</groupId> |             <groupId>junit</groupId> | ||||||
|             <artifactId>junit</artifactId> |             <artifactId>junit</artifactId> | ||||||
|             <version>4.12</version> |             <version>${junit.version}</version> | ||||||
|             <scope>test</scope> |             <scope>test</scope> | ||||||
|         </dependency> |         </dependency> | ||||||
|     </dependencies> |     </dependencies> | ||||||
| @ -35,7 +35,7 @@ | |||||||
|             <plugin> |             <plugin> | ||||||
|                 <artifactId>kotlin-maven-plugin</artifactId> |                 <artifactId>kotlin-maven-plugin</artifactId> | ||||||
|                 <groupId>org.jetbrains.kotlin</groupId> |                 <groupId>org.jetbrains.kotlin</groupId> | ||||||
|                 <version>1.0.4</version> |                 <version>${kotlin-maven-plugin.version}</version> | ||||||
|                 <executions> |                 <executions> | ||||||
|                     <execution> |                     <execution> | ||||||
|                         <id>compile</id> |                         <id>compile</id> | ||||||
| @ -55,4 +55,11 @@ | |||||||
|         </plugins> |         </plugins> | ||||||
|     </build> |     </build> | ||||||
| 
 | 
 | ||||||
|  |     <properties> | ||||||
|  |         <junit.version>4.12</junit.version> | ||||||
|  |         <kotlin-test-junit.version>1.0.4</kotlin-test-junit.version> | ||||||
|  |         <kotlin-stdlib.version>1.0.4</kotlin-stdlib.version> | ||||||
|  |         <kotlin-maven-plugin.version>1.0.4</kotlin-maven-plugin.version> | ||||||
|  |     </properties> | ||||||
|  | 
 | ||||||
| </project> | </project> | ||||||
| @ -1,4 +1,4 @@ | |||||||
| package com.baeldung | package com.baeldung.kotlin | ||||||
| 
 | 
 | ||||||
| fun main(args: Array<String>){ | fun main(args: Array<String>){ | ||||||
|     println("hello word") |     println("hello word") | ||||||
| @ -1,4 +1,4 @@ | |||||||
| package com.baeldung | package com.baeldung.kotlin | ||||||
| 
 | 
 | ||||||
| open class Item(val id: String, val name: String = "unknown_name") { | open class Item(val id: String, val name: String = "unknown_name") { | ||||||
|     open fun getIdOfItem(): String { |     open fun getIdOfItem(): String { | ||||||
| @ -1,4 +1,4 @@ | |||||||
| package com.baeldung | package com.baeldung.kotlin | ||||||
| 
 | 
 | ||||||
| import java.util.* | import java.util.* | ||||||
| 
 | 
 | ||||||
| @ -1,4 +1,4 @@ | |||||||
| package com.baeldung | package com.baeldung.kotlin | ||||||
| 
 | 
 | ||||||
| import java.util.concurrent.ThreadLocalRandom | import java.util.concurrent.ThreadLocalRandom | ||||||
| 
 | 
 | ||||||
| @ -1,4 +1,4 @@ | |||||||
| package com.baeldung | package com.baeldung.kotlin | ||||||
| 
 | 
 | ||||||
| import org.junit.Test | import org.junit.Test | ||||||
| import kotlin.test.assertNotNull | import kotlin.test.assertNotNull | ||||||
| @ -1,5 +1,6 @@ | |||||||
| package com.baeldung | package com.baeldung.kotlin | ||||||
| 
 | 
 | ||||||
|  | import com.baeldung.kotlin.ListExtension | ||||||
| import org.junit.Test | import org.junit.Test | ||||||
| import kotlin.test.assertTrue | import kotlin.test.assertTrue | ||||||
| 
 | 
 | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user