commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
87fd856699ca8620c2b6bb4ca6491f7766d96197 | Fix proposition's numeration | mchernyavsky/kotlincheck | src/main/kotlin/io/kotlincheck/PropSpec.kt | src/main/kotlin/io/kotlincheck/PropSpec.kt | package io.kotlincheck
import io.kotlintest.KTestJUnitRunner
import io.kotlintest.Spec
import io.kotlintest.TestCase
import io.kotlintest.TestSuite
import org.junit.runner.RunWith
@RunWith(KTestJUnitRunner::class) // required to let IntelliJ discover tests
abstract class PropSpec(body: PropSpec.() -> Unit = {}) : Spe... | package io.kotlincheck
import io.kotlintest.KTestJUnitRunner
import io.kotlintest.Spec
import io.kotlintest.TestCase
import io.kotlintest.TestSuite
import org.junit.runner.RunWith
@RunWith(KTestJUnitRunner::class) // required to let IntelliJ discover tests
abstract class PropSpec(body: PropSpec.() -> Unit = {}) : Spe... | mit | Kotlin |
990b2df23d4d6de2adc455a9b585834e29206583 | Update pydroid | pyamsoft/pasterino,pyamsoft/pasterino | app/src/main/java/com/pyamsoft/pasterino/widget/ToolbarView.kt | app/src/main/java/com/pyamsoft/pasterino/widget/ToolbarView.kt | /*
* Copyright 2020 Peter Kenji Yamanaka
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | /*
* Copyright 2020 Peter Kenji Yamanaka
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | apache-2.0 | Kotlin |
f7bcd901a6c82493a3adf2d3f3f138e86fe0aa93 | Format file | intellij-purescript/intellij-purescript,intellij-purescript/intellij-purescript | src/main/java/org/purescript/psi/PSModuleImpl.kt | src/main/java/org/purescript/psi/PSModuleImpl.kt | package org.purescript.psi
import com.intellij.lang.ASTNode
import com.intellij.psi.util.PsiTreeUtil
class PSModuleImpl(node: ASTNode) : PSPsiElement(node) {
val topLevelValueDeclarations: Map<String, PSValueDeclarationImpl>
get() = PsiTreeUtil
.findChildrenOfType(this, PSValueDeclarationImpl... | package org.purescript.psi
import com.intellij.lang.ASTNode
import com.intellij.psi.util.PsiTreeUtil
class PSModuleImpl(node: ASTNode) : PSPsiElement(node){
val topLevelValueDeclarations: Map<String, PSValueDeclarationImpl>
get() = PsiTreeUtil.findChildrenOfType(this, PSValueDeclarationImpl::class.java)
... | bsd-3-clause | Kotlin |
ea05918a54a6a65e7cc27c60fafe2eb90ee1ce3a | Handle missing game data | SourceUtils/steam-toolkit,SourceUtils/steam-toolkit | src/test/kotlin/com/timepath/steam/io/VDFTest.kt | src/test/kotlin/com/timepath/steam/io/VDFTest.kt | package com.timepath.steam.io
import com.timepath.steam.io.storage.ACF
import org.junit.After
import org.junit.Assert.fail
import org.junit.Before
import org.junit.Test
import java.io.FileNotFoundException
import java.io.PrintStream
import java.nio.charset.Charset
import java.util.LinkedList
public class VDFTest {
... | package com.timepath.steam.io
import com.timepath.steam.io.storage.ACF
import org.junit.After
import org.junit.Assert.fail
import org.junit.Before
import org.junit.Test
import java.io.IOException
import java.io.PrintStream
import java.nio.charset.Charset
import java.util.LinkedList
public class VDFTest {
Before
... | artistic-2.0 | Kotlin |
2161480a41fbd4f353fc3a2446b09806d0b1a5bc | Refactor Redis client more Kotlin like | TerrenceMiao/IPAQ | src/main/kotlin/org/paradise/ipaq/services/redis/RedisClient.kt | src/main/kotlin/org/paradise/ipaq/services/redis/RedisClient.kt | package org.paradise.ipaq.services.redis
import org.springframework.data.redis.RedisSystemException
import org.springframework.data.redis.core.StringRedisTemplate
import org.springframework.stereotype.Component
/**
* Created by terrence on 25/5/17.
*/
@Component
class RedisClient(val stringRedisTemplate: StringRedi... | package org.paradise.ipaq.services.redis
import org.slf4j.LoggerFactory
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.data.redis.RedisSystemException
import org.springframework.data.redis.core.StringRedisTemplate
import org.springframework.stereotype.Component
/**
* Created... | apache-2.0 | Kotlin |
818ae0d7d095cb1ed24560e0fe2092a73bd789fb | use KDoc syntax for kotlin (#193) | envoyproxy/envoy-mobile,envoyproxy/envoy-mobile,envoyproxy/envoy-mobile,envoyproxy/envoy-mobile,envoyproxy/envoy-mobile,envoyproxy/envoy-mobile,envoyproxy/envoy-mobile,envoyproxy/envoy-mobile,envoyproxy/envoy-mobile | library/kotlin/io/envoyproxy/envoymobile/Envoy.kt | library/kotlin/io/envoyproxy/envoymobile/Envoy.kt | package io.envoyproxy.envoymobile
import android.content.Context
import io.envoyproxy.envoymobile.engine.EnvoyEngine
/**
* Wrapper class that allows for easy calling of Envoy's JNI interface in native Java.
*/
class Envoy @JvmOverloads constructor(
context: Context,
config: String,
logLevel: String = "i... | package io.envoyproxy.envoymobile
import android.content.Context
import io.envoyproxy.envoymobile.engine.EnvoyEngine
// Wrapper class that allows for easy calling of Envoy's JNI interface in native Java.
class Envoy @JvmOverloads constructor(
context: Context,
config: String,
logLevel: String = "info"
) {... | apache-2.0 | Kotlin |
5d2eb9b6971117009a5ae8ee8eb74c113d2de95c | Make AndroidManifestInfoReceiver extend task for easy filtering | bugsnag/bugsnag-android-gradle-plugin,bugsnag/bugsnag-android-gradle-plugin,bugsnag/bugsnag-android-gradle-plugin,bugsnag/bugsnag-android-gradle-plugin,bugsnag/bugsnag-android-gradle-plugin,bugsnag/bugsnag-android-gradle-plugin | src/main/kotlin/com/bugsnag/android/gradle/AndroidManifestInfoReceiver.kt | src/main/kotlin/com/bugsnag/android/gradle/AndroidManifestInfoReceiver.kt | package com.bugsnag.android.gradle
import org.gradle.api.Task
import org.gradle.api.file.RegularFileProperty
import org.gradle.api.provider.Property
interface AndroidManifestInfoReceiver : Task {
val manifestInfoFile: RegularFileProperty
val versionCode: Property<Int>
}
internal fun AndroidManifestInfoReceiv... | package com.bugsnag.android.gradle
import org.gradle.api.file.RegularFileProperty
import org.gradle.api.provider.Property
interface AndroidManifestInfoReceiver {
val manifestInfoFile: RegularFileProperty
val versionCode: Property<Int>
}
internal fun AndroidManifestInfoReceiver.parseManifestInfo(): AndroidMan... | mit | Kotlin |
4e4437709f54ef0978b896c38121b3c8cb05e9df | Remove experimental | pyamsoft/zaptorch,pyamsoft/zaptorch | app/src/main/java/com/pyamsoft/zaptorch/service/ServiceBinder.kt | app/src/main/java/com/pyamsoft/zaptorch/service/ServiceBinder.kt | /*
* Copyright 2019 Peter Kenji Yamanaka
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | /*
* Copyright 2019 Peter Kenji Yamanaka
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | apache-2.0 | Kotlin |
c03c547892968b7f88ca8936c8e2b41018ea6c38 | Fix junit dependency version | Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2 | buildSrc/src/main/kotlin/dependencies/TestAndroidDependencies.kt | buildSrc/src/main/kotlin/dependencies/TestAndroidDependencies.kt |
package dependencies
object TestAndroidDependencies {
const val ESPRESSO = "androidx.test.espresso:espresso-core:${Versions.ESPRESSO}"
const val RUNNER = "androidx.test:runner:${Versions.ANDROIDX_TEST}"
const val RULES = "androidx.test:rules:${Versions.ANDROIDX_TEST}"
const val JUNIT = "androidx.test.... |
package dependencies
object TestAndroidDependencies {
const val ESPRESSO = "androidx.test.espresso:espresso-core:${Versions.ESPRESSO}"
const val RUNNER = "androidx.test:runner:${Versions.ANDROIDX_TEST}"
const val RULES = "androidx.test:rules:${Versions.ANDROIDX_TEST}"
const val JUNIT = "androidx.test.... | mit | Kotlin |
cdbb294e3c125dc268e17b13a1830681c0d0bd08 | Add FileConfigSerializer | BjoernPetersen/JMusicBot | src/main/kotlin/net/bjoernpetersen/musicbot/api/config/ConfigSerializer.kt | src/main/kotlin/net/bjoernpetersen/musicbot/api/config/ConfigSerializer.kt | package net.bjoernpetersen.musicbot.api.config
import java.io.File
interface ConfigSerializer<T> {
/**
* Serializes the given object to a string.
*
* This operation should not fail.
*/
fun serialize(obj: T): String
/**
* Deserializes the given string.
*
* @throws Serial... | package net.bjoernpetersen.musicbot.api.config
interface ConfigSerializer<T> {
/**
* Serializes the given object to a string.
*
* This operation should not fail.
*/
fun serialize(obj: T): String
/**
* Deserializes the given string.
*
* @throws SerializationException if t... | mit | Kotlin |
b00c2e09d9e72271c7044332e0c6c40dd190fd4a | Bump detekt | fcostaa/kotlin-rxjava-android,fcostaa/kotlin-rxjava-android | buildSrc/src/main/kotlin/Versions.kt | buildSrc/src/main/kotlin/Versions.kt | internal object Kotlin {
const val version = "1.3.50"
}
object Versions {
const val androidGradlePlugin = "3.5.0"
const val dependencyGraphGeneratorPlugin = "0.2.0"
const val androidJunitJacocoPlugin = "0.13.0"
const val detektGradlePlugin = "1.0.1"
const val canidropjetifierPlugin = "0.4"
... | internal object Kotlin {
const val version = "1.3.50"
}
object Versions {
const val androidGradlePlugin = "3.5.0"
const val dependencyGraphGeneratorPlugin = "0.2.0"
const val androidJunitJacocoPlugin = "0.13.0"
const val detektGradlePlugin = "1.0.0-RC12"
const val canidropjetifierPlugin = "0.4"... | mit | Kotlin |
39f3275d97a5655bbe278271b60c72a41f029805 | fix #497 by removing companion property | minecraft-dev/MinecraftDev,DemonWav/IntelliJBukkitSupport,minecraft-dev/MinecraftDev,DemonWav/MinecraftDevIntelliJ,DemonWav/MinecraftDevIntelliJ,minecraft-dev/MinecraftDev,DemonWav/MinecraftDevIntelliJ | src/main/kotlin/com/demonwav/mcdev/i18n/reference/I18nFindUsagesProvider.kt | src/main/kotlin/com/demonwav/mcdev/i18n/reference/I18nFindUsagesProvider.kt | /*
* Minecraft Dev for IntelliJ
*
* https://minecraftdev.org
*
* Copyright (c) 2018 minecraft-dev
*
* MIT License
*/
package com.demonwav.mcdev.i18n.reference
import com.demonwav.mcdev.i18n.lang.I18nLexerAdapter
import com.demonwav.mcdev.i18n.lang.gen.psi.I18nEntry
import com.demonwav.mcdev.i18n.lang.gen.psi.... | /*
* Minecraft Dev for IntelliJ
*
* https://minecraftdev.org
*
* Copyright (c) 2018 minecraft-dev
*
* MIT License
*/
package com.demonwav.mcdev.i18n.reference
import com.demonwav.mcdev.i18n.lang.I18nLexerAdapter
import com.demonwav.mcdev.i18n.lang.gen.psi.I18nEntry
import com.demonwav.mcdev.i18n.lang.gen.psi.... | mit | Kotlin |
b15139b95947711906edbe655ab8e8486a04762f | remove nth node | dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas | kotlin/src/katas/kotlin/leetcode/remove_nth_node/RemoveNthNode.kt | kotlin/src/katas/kotlin/leetcode/remove_nth_node/RemoveNthNode.kt | package katas.kotlin.leetcode.remove_nth_node
import kotlincommon.test.shouldEqual
import org.junit.Test
private data class ListNode(val value: Int, var next: ListNode? = null)
class RemoveNthNodeTests {
@Test fun `it mostly works`() {
ListNode(1).removeNthFromEnd(1) shouldEqual null
ListNode(1,... | package katas.kotlin.leetcode.remove_nth_node
import kotlincommon.test.shouldEqual
import org.junit.Test
private data class ListNode(val value: Int, var next: ListNode? = null)
class RemoveNthNodeTests {
@Test fun `it mostly works`() {
ListNode(1).removeNthFromEnd(1) shouldEqual null
ListNode(1,... | unlicense | Kotlin |
e8dfecd692420450dc5030221c0183adf54774f0 | fix package name of graphql example | http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k | src/docs/guide/reference/graphql/example.kt | src/docs/guide/reference/graphql/example.kt | package guide.reference.graphql
import com.expediagroup.graphql.generator.SchemaGeneratorConfig
import com.expediagroup.graphql.generator.toSchema
import graphql.GraphQL.newGraphQL
import org.http4k.client.JavaHttpClient
import org.http4k.client.asGraphQLHandler
import org.http4k.core.HttpHandler
import org.http4k.cor... | package guide.reference.graphql
import com.expediagroup.graphql.generator.SchemaGeneratorConfig
import com.expediagroup.graphql.generator.toSchema
import graphql.GraphQL.newGraphQL
import org.http4k.client.JavaHttpClient
import org.http4k.client.asGraphQLHandler
import org.http4k.core.HttpHandler
import org.http4k.cor... | apache-2.0 | Kotlin |
2b5217139e7b8186af5ac852af9dc864c0d6ab36 | Add MNISTMePropTest | KotlinNLP/SimpleDNN | examples/mnist/MNISTMePropTest.kt | examples/mnist/MNISTMePropTest.kt | /* Copyright 2016-present The KotlinNLP Authors. All Rights Reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/.
* ------------------------------------------... | mpl-2.0 | Kotlin | |
af0fd8060dc8c5a91952e64e793eb3a6a1d2ef48 | Structure View: Add visibility icons to structs | Turbo87/intellij-rust,himikof/intellij-rust,Undin/intellij-rust,Undin/intellij-rust,anton-okolelov/intellij-rust,himikof/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,anton-okolelov/intellij-rust,himikof/intellij-rust,Turbo87/intellij-rust,d9n/intellij-rust,intellij-rust/intellij-rust,intellij-rust/inte... | src/org/rust/lang/icons/RustIconProvider.kt | src/org/rust/lang/icons/RustIconProvider.kt | package org.rust.lang.icons
import com.intellij.ide.IconProvider
import com.intellij.openapi.util.Iconable
import com.intellij.psi.PsiElement
import com.intellij.psi.util.PsiUtil
import com.intellij.ui.RowIcon
import com.intellij.util.PlatformIcons
import com.intellij.util.VisibilityIcons
import com.intellij.util.ui.E... | package org.rust.lang.icons
import com.intellij.ide.IconProvider
import com.intellij.openapi.util.Iconable
import com.intellij.psi.PsiElement
import com.intellij.psi.util.PsiUtil
import com.intellij.ui.RowIcon
import com.intellij.util.PlatformIcons
import com.intellij.util.VisibilityIcons
import com.intellij.util.ui.E... | mit | Kotlin |
fbbdedb7d6ffa574173064ce1ff117493bec3cb9 | Add convenient getInstance() and getProvider() methods to Lightsaber | MichaelRocks/lightsaber,MichaelRocks/lightsaber | core-kotlin/src/main/kotlin/io/michaelrocks/lightsaber/InjectorExtensions.kt | core-kotlin/src/main/kotlin/io/michaelrocks/lightsaber/InjectorExtensions.kt | /*
* Copyright 2015 Michael Rozumyanskiy
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | /*
* Copyright 2015 Michael Rozumyanskiy
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | apache-2.0 | Kotlin |
fa6fd5399ee44e52ca8dc555029969a497d4083c | Add MySQL thread-local pool | RimmerM/Yttrium,Le-Chiffre/Yttrium | Yttrium-MySQL/src/com/rimmer/yttrium/mysql/Pool.kt | Yttrium-MySQL/src/com/rimmer/yttrium/mysql/Pool.kt | package com.rimmer.yttrium.mysql
import com.rimmer.mysql.pool.PoolConfiguration
import com.rimmer.mysql.pool.SingleThreadPool
import com.rimmer.mysql.protocol.Connection
import com.rimmer.mysql.protocol.QueryResult
import com.rimmer.yttrium.Context
import com.rimmer.yttrium.Task
import io.netty.channel.EventLoop
impor... | mit | Kotlin | |
a6ab65784bcb8187311ce6d0f3e85f77734dd02f | Create special pairs as description for common columns | sproshev/tcity,sproshev/tcity | app/src/main/kotlin/com/tcity/android/db/Schema.kt | app/src/main/kotlin/com/tcity/android/db/Schema.kt | /*
* Copyright 2014 Semyon Proshev
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | /*
* Copyright 2014 Semyon Proshev
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | apache-2.0 | Kotlin |
823cb70da9d59b8f95b784099b4ff34782b77e61 | fix typo EventRepository | mix-it/mixit,sdeleuze/mixit,mixitconf/mixit,sdeleuze/mixit,sdeleuze/mixit,mixitconf/mixit,mix-it/mixit,mixitconf/mixit,mixitconf/mixit,mix-it/mixit,sdeleuze/mixit,mix-it/mixit,mix-it/mixit | src/main/kotlin/mixit/Application.kt | src/main/kotlin/mixit/Application.kt | package mixit
import mixit.repository.*
import mixit.support.Server
import org.springframework.beans.factory.getBean
import org.springframework.context.annotation.AnnotationConfigApplicationContext
import java.util.concurrent.CompletableFuture
class Application {
val hostname: String
val port: Int?
val c... | package mixit
import mixit.repository.*
import mixit.support.Server
import org.springframework.beans.factory.getBean
import org.springframework.context.annotation.AnnotationConfigApplicationContext
import java.util.concurrent.CompletableFuture
class Application {
val hostname: String
val port: Int?
val c... | apache-2.0 | Kotlin |
e37d4c3ddec02b19b4963139ff54204f833664ff | Update to Android-Components 96.0.20211110190326. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | buildSrc/src/main/java/AndroidComponents.kt | buildSrc/src/main/java/AndroidComponents.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "96.0.20211110190326"
}
| /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "96.0.20211110143137"
}
| mpl-2.0 | Kotlin |
e11de4828295ea3a49133a0651d05e3522f40037 | Update to Android-Components 107.0.20221015145354. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | buildSrc/src/main/java/AndroidComponents.kt | buildSrc/src/main/java/AndroidComponents.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "107.0.20221015145354"
}
| /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "107.0.20221014190058"
}
| mpl-2.0 | Kotlin |
f6ff34d9d5ac33c5054db372b7bba3e15836475c | Update Android Components version to 95.0.20211101155331. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | buildSrc/src/main/java/AndroidComponents.kt | buildSrc/src/main/java/AndroidComponents.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "95.0.20211101155331"
}
| /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "95.0.20211026143215"
}
| mpl-2.0 | Kotlin |
7e0948c0f912a51cd7fe1ebd18728520fbb0a214 | Update to Android-Components 98.0.20220126190131. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | buildSrc/src/main/java/AndroidComponents.kt | buildSrc/src/main/java/AndroidComponents.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "98.0.20220126190131"
}
| /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "98.0.20220126143158"
}
| mpl-2.0 | Kotlin |
4c1e68f8b2e0650b69b563422d846f9b7c367946 | Update to Android-Components 105.0.20220814190127. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | buildSrc/src/main/java/AndroidComponents.kt | buildSrc/src/main/java/AndroidComponents.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "105.0.20220814190127"
}
| /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "105.0.20220814143053"
}
| mpl-2.0 | Kotlin |
34dd0e0b07b27de78563f9a8d71e8a25b61fc44f | Remove unused import | elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin | src/main/kotlin/com/elpassion/intelijidea/task/edit/MFBeforeRunTaskDialog.kt | src/main/kotlin/com/elpassion/intelijidea/task/edit/MFBeforeRunTaskDialog.kt | package com.elpassion.intelijidea.task.edit
import com.elpassion.intelijidea.task.MFTaskData
import com.intellij.openapi.project.Project
import com.intellij.openapi.ui.DialogWrapper
import com.intellij.openapi.ui.TextFieldWithBrowseButton
import com.intellij.openapi.ui.ValidationInfo
import javax.swing.JComponent
impo... | package com.elpassion.intelijidea.task.edit
import com.elpassion.intelijidea.task.MFBeforeRunTask
import com.elpassion.intelijidea.task.MFTaskData
import com.intellij.openapi.project.Project
import com.intellij.openapi.ui.DialogWrapper
import com.intellij.openapi.ui.TextFieldWithBrowseButton
import com.intellij.openap... | apache-2.0 | Kotlin |
4eba4f44c97a768f16c50c1e3842a115a22c2489 | Add test case proving Action overloads are correctly selected | gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/g... | src/test/kotlin/org/gradle/script/lang/kotlin/ComponentSelectionRulesTest.kt | src/test/kotlin/org/gradle/script/lang/kotlin/ComponentSelectionRulesTest.kt | package org.gradle.script.lang.kotlin
import com.nhaarman.mockito_kotlin.KStubbing
import com.nhaarman.mockito_kotlin.any
import com.nhaarman.mockito_kotlin.doReturn
import com.nhaarman.mockito_kotlin.mock
import com.nhaarman.mockito_kotlin.verify
import org.gradle.api.Action
import org.gradle.api.artifacts.Component... | apache-2.0 | Kotlin | |
bd97890cd4e11b6bc9faa04aa18d42d2f51329d1 | Add description for signing project | gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpira... | subprojects/signing/build.gradle.kts | subprojects/signing/build.gradle.kts | plugins {
id("gradlebuild.distribution.api-java")
}
description = "Plugin for cryptographic signing of publications, artifacts or files."
dependencies {
implementation(project(":base-services"))
implementation(project(":logging"))
implementation(project(":process-services"))
implementation(project... | plugins {
id("gradlebuild.distribution.api-java")
}
dependencies {
implementation(project(":base-services"))
implementation(project(":logging"))
implementation(project(":process-services"))
implementation(project(":core-api"))
implementation(project(":model-core"))
implementation(project(":... | apache-2.0 | Kotlin |
8d3f715e7f743b1c96c97209bb83a41645734284 | Update build.gradle.kts | awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a... | kotlin/services/redshift/build.gradle.kts | kotlin/services/redshift/build.gradle.kts | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.5.31"
application
}
group = "me.scmacdon"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation("aws.sdk.kotlin:redshift:0.14.3-beta")
testImplementation("org.junit.jupiter:j... | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.5.31"
application
}
group = "me.scmacdon"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation("aws.sdk.kotlin:redshift:0.14.3-beta")
testImplementation("org.junit.jupiter:... | apache-2.0 | Kotlin |
53682e426f40c90a647f8fdc23c2525840caf53f | Hide subtitle textview in people fragment | AshishKayastha/Movie-Guide,AshishKayastha/Movie-Guide | app/src/main/kotlin/com/ashish/movies/ui/people/list/PeopleDelegateAdapter.kt | app/src/main/kotlin/com/ashish/movies/ui/people/list/PeopleDelegateAdapter.kt | package com.ashish.movies.ui.people.list
import android.support.v7.widget.RecyclerView
import android.view.ViewGroup
import com.ashish.movies.R
import com.ashish.movies.data.models.Person
import com.ashish.movies.ui.base.recyclerview.BaseContentHolder
import com.ashish.movies.ui.common.adapter.OnItemClickListener
impo... | package com.ashish.movies.ui.people.list
import android.support.v7.widget.RecyclerView
import android.view.ViewGroup
import com.ashish.movies.R
import com.ashish.movies.data.models.Person
import com.ashish.movies.ui.base.recyclerview.BaseContentHolder
import com.ashish.movies.ui.common.adapter.OnItemClickListener
impo... | apache-2.0 | Kotlin |
35c1af797b099a65428a0d288763b4dc85893513 | add some try/catch to avoid loop failure | mencattini/eMuLATe,mencattini/eMuLATe,mencattini/eMuLATe,mencattini/eMuLATe | arl/src/main/kotlin/Main.kt | arl/src/main/kotlin/Main.kt |
import machine.learning.ARL
import java.io.File
import kotlin.collections.ArrayList
fun main(args : Array<String>) {
// val myFile = File("data/EURUSD_2000_2001_1m_bar.csv").inputStream()
val myFile = File("data/2006-2010/gbpusd_2006-2010.csv").inputStream()
val array2 : ArrayList<Double> = arrayListOf()... |
import machine.learning.ARL
import java.io.File
import kotlin.collections.ArrayList
fun main(args : Array<String>) {
// // we open the .dat file located in data
// val myFile = File("data/EURUSD.dat").inputStream()
// val array2: ArrayList<Double> = arrayListOf()
//
// myFile.bufferedReader().useLines { ... | mit | Kotlin |
eb906876c0967d057ec58c1b3ffb034122e4b896 | refactor #818 Enable to use factor directly. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | loan/src/main/java/jp/toastkid/loan/Calculator.kt | loan/src/main/java/jp/toastkid/loan/Calculator.kt | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | epl-1.0 | Kotlin |
2ec4b3a2008549f37677b5cd41229be3a02734bb | Make a Color class to store data about colors | FarbodSalamat-Zadeh/TimetableApp,FarbodSalamat-Zadeh/TimetableApp | app/src/main/java/com/satsumasoftware/timetable/framework/Color.kt | app/src/main/java/com/satsumasoftware/timetable/framework/Color.kt | package com.satsumasoftware.timetable.framework
import android.content.Context
import android.content.res.Resources
import android.support.annotation.ColorRes
class Color(val id: Int) {
val name: String
get() = when(id) {
1 -> "red"
2 -> "pink"
3 -> "purple"
... | apache-2.0 | Kotlin | |
51178c98b427d7458c86d5477eb1a7201762ea99 | Update demo api url | alashow/music-android | modules/domain/src/main/java/tm/alashow/Config.kt | modules/domain/src/main/java/tm/alashow/Config.kt | /*
* Copyright (C) 2021, Alashov Berkeli
* All rights reserved.
*/
package tm.alashow
import org.threeten.bp.Duration
object Config {
const val BASE_HOST = "datmusic.xyz"
const val BASE_URL = "https://$BASE_HOST/"
const val API_BASE_URL = "https://api-demo.$BASE_HOST/"
const val PLAYSTORE_URL = "h... | /*
* Copyright (C) 2021, Alashov Berkeli
* All rights reserved.
*/
package tm.alashow
import org.threeten.bp.Duration
object Config {
const val BASE_HOST = "datmusic.xyz"
const val BASE_URL = "https://$BASE_HOST/"
const val API_BASE_URL = "https://demo-api.$BASE_HOST/"
const val PLAYSTORE_URL = "h... | apache-2.0 | Kotlin |
b31c1bea6b18d3fb1e01599bcbbabe9965a77787 | Bump db schema | google/ground-android,google/ground-android,google/ground-android | gnd/src/main/java/com/google/android/gnd/Config.kt | gnd/src/main/java/com/google/android/gnd/Config.kt | /*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | /*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | apache-2.0 | Kotlin |
5cd2e19ca25a3db86d68ce4c48a4f756bc6b2605 | Fix onTick event | RuneSuite/client,RuneSuite/client | game-api/src/main/java/org/runestar/client/game/api/live/Game.kt | game-api/src/main/java/org/runestar/client/game/api/live/Game.kt | package org.runestar.client.game.api.live
import org.kxtra.swing.component.windowAncestor
import org.runestar.client.game.raw.Client
import org.runestar.client.game.raw.Client.accessor
import org.runestar.client.game.raw.access.XClient
import hu.akarnokd.rxjava2.swing.SwingObservable
import io.reactivex.Observable
imp... | package org.runestar.client.game.api.live
import org.kxtra.swing.component.windowAncestor
import org.runestar.client.game.raw.Client
import org.runestar.client.game.raw.Client.accessor
import org.runestar.client.game.raw.access.XClient
import hu.akarnokd.rxjava2.swing.SwingObservable
import io.reactivex.Observable
imp... | mit | Kotlin |
0c2f4a22ec57fadadf35cd728f40e3f7962b2b8b | refactor #754 Safe delete 'onClick'. | toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/browser/history/ClearDialogFragment.kt | app/src/main/java/jp/toastkid/yobidashi/browser/history/ClearDialogFragment.kt | /*
* Copyright (c) 2018 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | /*
* Copyright (c) 2018 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | epl-1.0 | Kotlin |
4c10af28afc2c8bb647e7e6272c3a748aa5f06fd | update gradle dependencies to newer versions (#63) | emufog/emufog | build.gradle.kts | build.gradle.kts | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61")
}
}
val emufogMainClass = "emufog.EmufogKt"
val emufogVersion = "1.0"
plugins {
kotlin("jvm") version ... | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61")
}
}
val emufogMainClass = "emufog.EmufogKt"
val emufogVersion = "1.0"
plugins {
kotlin("jvm") version ... | mit | Kotlin |
d5bee7a91aceb1dce38ba9d447b9a09f90ae7dc9 | Bump com.gradle.plugin-publish from 0.19.0 to 0.20.0 | gesellix/gradle-docker-plugin,gesellix/gradle-docker-plugin | build.gradle.kts | build.gradle.kts | plugins {
id("maven-publish")
id("com.github.ben-manes.versions") version "0.41.0"
id("net.ossindex.audit") version "0.4.11"
id("com.gradle.plugin-publish") version "0.20.0" apply false
id("io.freefair.maven-central.validate-poms") version "6.3.0"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
... | plugins {
id("maven-publish")
id("com.github.ben-manes.versions") version "0.41.0"
id("net.ossindex.audit") version "0.4.11"
id("com.gradle.plugin-publish") version "0.19.0" apply false
id("io.freefair.maven-central.validate-poms") version "6.3.0"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
... | mit | Kotlin |
121729bc437775ae87efc300cc87de8669f20e4a | Provision as default task | Cognifide/gradle-aem-example,Cognifide/gradle-aem-example,Cognifide/gradle-aem-example,Cognifide/gradle-aem-example,Cognifide/gradle-aem-example | build.gradle.kts | build.gradle.kts | plugins {
id("com.neva.fork")
id("com.cognifide.aem.common")
}
description = "Example"
defaultTasks("develop")
aem {
tasks {
sequence("develop", {
description = "Builds and deploys AEM application, cleans environment then runs integration and functional tests"
}) {
... | plugins {
id("com.neva.fork")
id("com.cognifide.aem.common")
}
description = "Example"
defaultTasks("develop")
aem {
tasks {
sequence("develop", {
description = "Builds and deploys AEM application, cleans environment then runs integration and functional tests"
}) {
... | apache-2.0 | Kotlin |
b7109acf83b99bcfce09d5fa9a4d9bb519357342 | Bump version {0.3.0 => 0.3.1-SNAPSHOT} | robinverduijn/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle-script-kotlin,blindpirate/gradle,gradle/gradle-script-kotlin,blindpirate/gradle,blindpirate/gradle,gradle/gradle,robinver... | build.gradle.kts | build.gradle.kts | import org.gradle.api.publish.*
import org.gradle.api.publish.maven.*
import org.gradle.jvm.tasks.Jar
apply {
plugin("kotlin")
plugin("maven-publish")
plugin("com.jfrog.artifactory")
}
group = "org.gradle"
version = "0.3.1-SNAPSHOT"
val kotlinVersion by extra.properties
dependencies {
compileOnly(g... | import org.gradle.api.publish.*
import org.gradle.api.publish.maven.*
import org.gradle.jvm.tasks.Jar
apply {
plugin("kotlin")
plugin("maven-publish")
plugin("com.jfrog.artifactory")
}
group = "org.gradle"
version = "0.3.0"
val kotlinVersion by extra.properties
dependencies {
compileOnly(gradle("co... | apache-2.0 | Kotlin |
ec075bda5cbdf7606ebfcd082506360423dd0aae | Remove dependency on kotlin-stdlib-jre8 and bump to kotlin 1.1.1 | JLLeitschuh/ktlint-gradle,JLLeitschuh/ktlint-gradle | build.gradle.kts | build.gradle.kts | import org.gradle.api.publish.PublishingExtension
import org.gradle.api.publish.maven.MavenPublication
buildscript {
var kotlin_version: String by extra
kotlin_version = "1.1.1"
repositories {
maven { setUrl("http://dl.bintray.com/kotlin/kotlin-eap-1.1") }
maven { setUrl("https://plugins.g... | import org.gradle.api.publish.PublishingExtension
import org.gradle.api.publish.maven.MavenPublication
buildscript {
var kotlin_version: String by extra
kotlin_version = "1.1.0-rc-91"
repositories {
maven { setUrl("http://dl.bintray.com/kotlin/kotlin-eap-1.1") }
maven { setUrl("https://plu... | mit | Kotlin |
5b32f0a33d6fcd222e2350f76cbde5b69da66099 | Resolve default view/playlist | gravidence/gravifon | gravifon/src/main/kotlin/org/gravidence/gravifon/orchestration/Orchestrator.kt | gravifon/src/main/kotlin/org/gravidence/gravifon/orchestration/Orchestrator.kt | package org.gravidence.gravifon.orchestration
import mu.KotlinLogging
import org.gravidence.gravifon.configuration.ConfigurationManager
import org.gravidence.gravifon.event.EventBus
import org.gravidence.gravifon.orchestration.marker.EventAware
import org.gravidence.gravifon.orchestration.marker.Playable
import org.gr... | package org.gravidence.gravifon.orchestration
import mu.KotlinLogging
import org.gravidence.gravifon.configuration.ConfigurationManager
import org.gravidence.gravifon.event.EventBus
import org.gravidence.gravifon.orchestration.marker.EventAware
import org.gravidence.gravifon.orchestration.marker.Playable
import org.gr... | mit | Kotlin |
2ffa1e143706cbe6201078b1e9108af3ccb02051 | Add kotlin extension for Any | Mindera/skeletoid,Mindera/skeletoid | kt-extensions/src/main/kotlin/com/mindera/skeletoid/kt/extensions/stlib/Any.kt | kt-extensions/src/main/kotlin/com/mindera/skeletoid/kt/extensions/stlib/Any.kt | @file:Suppress("NOTHING_TO_INLINE")
package com.mindera.skeletoid.kt.extensions.stlib
inline fun Any?.isNullOrTrue(): Boolean {
return this != false
}
inline fun Any?.isNullOrFalse(): Boolean {
return this != true
} | mit | Kotlin | |
526e065182f0ed0bad7a476d8865c7672479af66 | remove unused fields, methods | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | platform/lang-impl/src/com/intellij/codeInsight/hints/InlayHintsPassFactory.kt | platform/lang-impl/src/com/intellij/codeInsight/hints/InlayHintsPassFactory.kt | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.codeInsight.hints
import com.intellij.codeHighlighting.TextEditorHighlightingPass
import com.intellij.codeHighlighting.TextEditorHighlightingPassFactory
impo... | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.codeInsight.hints
import com.intellij.codeHighlighting.TextEditorHighlightingPass
import com.intellij.codeHighlighting.TextEditorHighlightingPassFactory
impo... | apache-2.0 | Kotlin |
385935b863d752250aba4177865aef6233d7eec3 | Add test for cache clearing with language dialects (IDEA-CR-53062) | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | platform/platform-tests/testSrc/com/intellij/lang/LanguageExtensionCacheTest.kt | platform/platform-tests/testSrc/com/intellij/lang/LanguageExtensionCacheTest.kt | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.lang
import com.intellij.mock.MockLanguageFileType
import com.intellij.openapi.Disposable
import com.intellij.openapi.application.ApplicationManager
import c... | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.lang
import com.intellij.openapi.Disposable
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.extensions.DefaultPluginDe... | apache-2.0 | Kotlin |
531fd117c2d92410be3a93a3c6b0360ee65a4ca1 | refactor #727 Implement unit test. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | about/src/test/java/jp/toastkid/about/license/LicenseContentLoaderUseCaseTest.kt | about/src/test/java/jp/toastkid/about/license/LicenseContentLoaderUseCaseTest.kt | /*
* Copyright (c) 2022 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | epl-1.0 | Kotlin | |
ad751d41700fac47cf818ba336a34bb316bde488 | Add some Kotlin extension functions to simplify handling of JSONArrays | opacapp/opacclient,opacapp/opacclient,opacapp/opacclient,opacapp/opacclient,raphaelm/opacclient,opacapp/opacclient,raphaelm/opacclient,raphaelm/opacclient | opacclient/libopac/src/main/java/de/geeksfactory/opacclient/utils/KotlinUtils.kt | opacclient/libopac/src/main/java/de/geeksfactory/opacclient/utils/KotlinUtils.kt | package de.geeksfactory.opacclient.utils
import org.json.JSONArray
import org.json.JSONObject
import org.jsoup.Jsoup
import org.jsoup.nodes.Document
import org.jsoup.nodes.Element
import org.jsoup.nodes.TextNode
import org.jsoup.select.Elements
val String.html: Document
get() = Jsoup.parse(this)
val String.jsonO... | package de.geeksfactory.opacclient.utils
import org.json.JSONObject
import org.jsoup.Jsoup
import org.jsoup.nodes.Document
import org.jsoup.nodes.Element
import org.jsoup.nodes.TextNode
import org.jsoup.select.Elements
val String.html: Document
get() = Jsoup.parse(this)
val String.jsonObject: JSONObject
get(... | mit | Kotlin |
0fd8bc31a9d4746d09a62544f544693ee13b71fa | Test now works | Deanveloper/KBukkit | src/main/kotlin/com/deanveloper/kbukkit/KConfig.kt | src/main/kotlin/com/deanveloper/kbukkit/KConfig.kt | package com.deanveloper.kbukkit
import org.bukkit.Color
import org.bukkit.configuration.file.FileConfiguration
import org.bukkit.configuration.file.YamlConfiguration
import org.bukkit.plugin.Plugin
import org.bukkit.util.Vector
import java.io.File
import java.io.IOException
import java.util.logging.Level
import kotlin... | package com.deanveloper.kbukkit
import org.bukkit.Color
import org.bukkit.configuration.file.FileConfiguration
import org.bukkit.configuration.file.YamlConfiguration
import org.bukkit.plugin.Plugin
import org.bukkit.util.Vector
import java.io.File
import java.io.IOException
import java.util.logging.Level
import kotlin... | mit | Kotlin |
24b5655fef6c52faaa42ad8822a4bdf87fb441a6 | Move extra property declaration close to the use-site | gradle/gradle,robinverduijn/gradle,lsmaira/gradle,robinverduijn/gradle,lsmaira/gradle,blindpirate/gradle,lsmaira/gradle,blindpirate/gradle,robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,gradle/gradle,lsmaira/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/... | subprojects/base-services/base-services.gradle.kts | subprojects/base-services/base-services.gradle.kts | /*
* A set of generic services and utilities.
*
* Should have a very small set of dependencies, and should be appropriate to embed in an external
* application (eg as part of the tooling API).
*/
import java.util.concurrent.Callable
plugins {
`java-library`
id("classycle")
}
val javaVersion: JavaVersion... | /*
* A set of generic services and utilities.
*
* Should have a very small set of dependencies, and should be appropriate to embed in an external
* application (eg as part of the tooling API).
*/
import java.util.concurrent.Callable
plugins {
`java-library`
id("classycle")
}
val javaVersion: JavaVersion... | apache-2.0 | Kotlin |
1e2c552e98ab9f902f4d319b81902dc1bc1afc75 | refactor #433 Use just runs. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | app/src/test/java/jp/toastkid/yobidashi/main/launch/RandomWikipediaUseCaseTest.kt | app/src/test/java/jp/toastkid/yobidashi/main/launch/RandomWikipediaUseCaseTest.kt | package jp.toastkid.yobidashi.main.launch
import android.net.Uri
import io.mockk.MockKAnnotations
import io.mockk.Runs
import io.mockk.every
import io.mockk.impl.annotations.InjectMockKs
import io.mockk.impl.annotations.MockK
import io.mockk.just
import io.mockk.unmockkAll
import io.mockk.verify
import jp.toastkid.lib... | package jp.toastkid.yobidashi.main.launch
import android.net.Uri
import io.mockk.MockKAnnotations
import io.mockk.every
import io.mockk.impl.annotations.InjectMockKs
import io.mockk.impl.annotations.MockK
import io.mockk.unmockkAll
import io.mockk.verify
import jp.toastkid.lib.ContentViewModel
import jp.toastkid.yobid... | epl-1.0 | Kotlin |
5d7e67f1b770580e4a9db4194a3554baa0163792 | refactor #580 Add blank check. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | article/src/main/java/jp/toastkid/article_viewer/article/data/ArticleInsertion.kt | article/src/main/java/jp/toastkid/article_viewer/article/data/ArticleInsertion.kt | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | epl-1.0 | Kotlin |
295e449d2043a28973c704f9180fdfbf03cb401e | Create LocationRepository | lcmatrix/betting-game,lcmatrix/betting-game | src/main/kotlin/de/bettinggame/domain/Location.kt | src/main/kotlin/de/bettinggame/domain/Location.kt | package de.bettinggame.domain
import org.springframework.data.repository.CrudRepository
import javax.persistence.*
import javax.validation.constraints.NotNull
/**
* Location class.
*/
@Entity
class Location(identifier: String,
/**
* Short unique key.
*/
... | package de.bettinggame.domain
import javax.persistence.*
import javax.validation.constraints.NotNull
/**
* Location class.
*/
@Entity
class Location(identifier: String,
/**
* Short unique key.
*/
@NotNull
@Column(name = "short_key")
... | apache-2.0 | Kotlin |
73d3d1fd58de1030b8b5d47313914f5b75357fd2 | Create App.kt | awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a... | kotlin/usecases/creating_redshift_application/src/main/kotlin/com/aws/rest/App.kt | kotlin/usecases/creating_redshift_application/src/main/kotlin/com/aws/rest/App.kt | /*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package com.aws.rest
import kotlinx.coroutines.runBlocking
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.we... | apache-2.0 | Kotlin | |
66363533075dfa77523eeee680254391ffb9f025 | Use `getValue` instead of `!!`. | mg6maciej/fluffy-octo-rotary-phone,mg6maciej/fluffy-octo-rotary-phone,mg6maciej/fluffy-octo-rotary-phone | app/src/main/java/pl/mg6/likeornot/OverlayView.kt | app/src/main/java/pl/mg6/likeornot/OverlayView.kt | package pl.mg6.likeornot
import android.app.Activity
import android.view.View
import android.widget.ImageView
import android.widget.TextView
import com.bumptech.glide.Glide
class OverlayView(private val activity: Activity, private val clickCallback: (Likable, Int) -> Unit) {
fun showLikable(likable: Likable) {
... | package pl.mg6.likeornot
import android.app.Activity
import android.view.View
import android.widget.ImageView
import android.widget.TextView
import com.bumptech.glide.Glide
class OverlayView(private val activity: Activity, private val clickCallback: (Likable, Int) -> Unit) {
fun showLikable(likable: Likable) {
... | apache-2.0 | Kotlin |
be5aec379e592221ddc470b2b07bf0e58d58dedf | Remove deprecated config option (#3709) | arturbosch/detekt,arturbosch/detekt,arturbosch/detekt | buildSrc/build.gradle.kts | buildSrc/build.gradle.kts | plugins {
`kotlin-dsl`
}
repositories {
mavenLocal() // used to publish and test local gradle plugin changes
mavenCentral()
gradlePluginPortal()
}
object Plugins {
const val KOTLIN = "1.4.32"
const val DETEKT = "1.16.0"
const val GITHUB_RELEASE = "2.2.12"
const val SHADOW = "6.1.0"
... | plugins {
`kotlin-dsl`
}
kotlinDslPluginOptions {
experimentalWarning.set(false)
}
repositories {
mavenLocal() // used to publish and test local gradle plugin changes
mavenCentral()
gradlePluginPortal()
}
object Plugins {
const val KOTLIN = "1.4.32"
const val DETEKT = "1.16.0"
const v... | apache-2.0 | Kotlin |
da6930ead6de100866a24270356f5e4552b5633f | Revert Inline function call in KotlinScriptEngine (#1397) | arturbosch/detekt,rock3r/detekt,arturbosch/detekt,rock3r/detekt,arturbosch/detekt,rock3r/detekt | detekt-test/src/main/kotlin/io/gitlab/arturbosch/detekt/test/KotlinScriptEngine.kt | detekt-test/src/main/kotlin/io/gitlab/arturbosch/detekt/test/KotlinScriptEngine.kt | package io.gitlab.arturbosch.detekt.test
import org.jetbrains.kotlin.cli.common.environment.setIdeaIoUseFallback
import org.jetbrains.kotlin.script.jsr223.KotlinJsr223JvmLocalScriptEngine
import javax.script.ScriptEngineManager
import javax.script.ScriptException
/**
* The object to create the Kotlin script engine f... | package io.gitlab.arturbosch.detekt.test
import org.jetbrains.kotlin.cli.common.environment.setIdeaIoUseFallback
import org.jetbrains.kotlin.script.jsr223.KotlinJsr223JvmLocalScriptEngine
import javax.script.ScriptEngineManager
import javax.script.ScriptException
/**
* The object to create the Kotlin script engine f... | apache-2.0 | Kotlin |
63cc2598eae63ca00a6367b86186ab60f30a4003 | Update src/test/kotlin/com/bugsnag/android/gradle/PluginExtensionTest.kt | bugsnag/bugsnag-android-gradle-plugin,bugsnag/bugsnag-android-gradle-plugin,bugsnag/bugsnag-android-gradle-plugin,bugsnag/bugsnag-android-gradle-plugin,bugsnag/bugsnag-android-gradle-plugin,bugsnag/bugsnag-android-gradle-plugin | src/test/kotlin/com/bugsnag/android/gradle/PluginExtensionTest.kt | src/test/kotlin/com/bugsnag/android/gradle/PluginExtensionTest.kt | package com.bugsnag.android.gradle
import org.gradle.api.Project
import org.gradle.testfixtures.ProjectBuilder
import org.junit.Assert.assertEquals
import org.junit.Assert.assertFalse
import org.junit.Assert.assertNull
import org.junit.Assert.assertTrue
import org.junit.Before
import org.junit.Test
import java.io.File... | package com.bugsnag.android.gradle
import org.gradle.api.Project
import org.gradle.testfixtures.ProjectBuilder
import org.junit.Assert.assertEquals
import org.junit.Assert.assertFalse
import org.junit.Assert.assertNotNull
import org.junit.Assert.assertNull
import org.junit.Assert.assertTrue
import org.junit.Before
imp... | mit | Kotlin |
45552f838a8fba3a823aed411b5cf50d7430114d | Add Room migration path | google/iosched,google/iosched,google/iosched | shared/src/main/java/com/google/samples/apps/iosched/shared/data/db/AppDatabase.kt | shared/src/main/java/com/google/samples/apps/iosched/shared/data/db/AppDatabase.kt | /*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | /*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | apache-2.0 | Kotlin |
f4b2a264e5d14f0731525950b1fc77c50e483a3f | Add open modifier to getSelectedAccountName method | macoscope/KetchupLunch,macoscope/KetchupLunch | app/src/main/java/com/macoscope/ketchuplunch/model/login/GoogleCredentialWrapper.kt | app/src/main/java/com/macoscope/ketchuplunch/model/login/GoogleCredentialWrapper.kt | package com.macoscope.ketchuplunch.model.login
import android.content.Context
import com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential
import com.google.api.client.util.ExponentialBackOff
open class GoogleCredentialWrapper(val context: Context) {
private val scopes: List<String... | package com.macoscope.ketchuplunch.model.login
import android.content.Context
import com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential
import com.google.api.client.util.ExponentialBackOff
open class GoogleCredentialWrapper(val context: Context) {
private val scopes: List<String... | apache-2.0 | Kotlin |
92a799820bc6852ff494929658bedccbfea2bf65 | Revert "Calculate diff off of main thread" | jamieadkins95/Roach,jamieadkins95/Roach | commonutils/src/main/java/com/jamieadkins/commonutils/ui/BaseRecyclerViewAdapter.kt | commonutils/src/main/java/com/jamieadkins/commonutils/ui/BaseRecyclerViewAdapter.kt | package com.jamieadkins.commonutils.ui
import android.support.v7.util.DiffUtil
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.ViewGroup
import com.jamieadkins.commonutils.R
import java.util.ArrayList
/**
* Holds base logic for recycler view adapters.
*/
abstr... | package com.jamieadkins.commonutils.ui
import android.support.v7.util.DiffUtil
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.ViewGroup
import com.jamieadkins.commonutils.R
import com.jamieadkins.commonutils.mvp2.applySchedulers
import io.reactivex.Completable
imp... | apache-2.0 | Kotlin |
4f8a60cbfbe59c818a18e117bf684c3d9dc72cc6 | fix upload selection bug | hazuki0x0/YuzuBrowser,hazuki0x0/YuzuBrowser,hazuki0x0/YuzuBrowser,hazuki0x0/YuzuBrowser | app/src/main/java/jp/hazuki/yuzubrowser/webkit/WebUploadHandler.kt | app/src/main/java/jp/hazuki/yuzubrowser/webkit/WebUploadHandler.kt | /*
* Copyright (C) 2017-2018 Hazuki
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | /*
* Copyright (C) 2017-2018 Hazuki
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | apache-2.0 | Kotlin |
52144b60a5f283cce6418003c9530ff3334bc936 | change input navigator type for fragment delegate | doubledeath/android.mvvm | mvvm/src/main/java/com/github/doubledeath/android/mvvm/impl/MvvmFragmentDelegate.kt | mvvm/src/main/java/com/github/doubledeath/android/mvvm/impl/MvvmFragmentDelegate.kt | package com.github.doubledeath.android.mvvm.impl
import android.app.FragmentManager
import android.databinding.DataBindingUtil
import android.databinding.ViewDataBinding
import android.view.LayoutInflater
import com.github.doubledeath.android.mvvm.MvvmFacade
import com.github.doubledeath.android.mvvm.base.MvvmBaseDele... | package com.github.doubledeath.android.mvvm.impl
import android.app.FragmentManager
import android.databinding.DataBindingUtil
import android.databinding.ViewDataBinding
import android.view.LayoutInflater
import com.github.doubledeath.android.mvvm.MvvmFacade
import com.github.doubledeath.android.mvvm.base.MvvmBaseDele... | mit | Kotlin |
f14d4c9531a81439f09f2e5b107e9f6bea68719a | Fix converter test. | cbeust/klaxon,cbeust/klaxon,cbeust/klaxon | src/test/kotlin/com/beust/klaxon/Issue84.kt | src/test/kotlin/com/beust/klaxon/Issue84.kt | package com.beust.klaxon
import org.testng.annotations.Test
import java.time.Instant
class Issue84 {
/**
* This test passes.
*/
@Test
fun serializeNestedInstant() {
data class Person(val firstName: String, val dob: Instant)
class EpochMilliInstantConverter: Converter<Instant> {
... | package com.beust.klaxon
import org.testng.annotations.Test
import java.time.Instant
class Issue84 {
/**
* This test passes.
*/
@Test
fun serializeNestedInstant() {
data class Person(val firstName: String, val dob: Instant)
class EpochMilliInstantConverter: Converter<Instant> {
... | apache-2.0 | Kotlin |
d59550a8078bb8a4b5e560948e191a36ebf83066 | Add a copy RunJetty into src/main ... temporarily for mvn exec use | avaje-metric/example-app,avaje-metric/example-app,avaje-metric/example-app,avaje-metric/example-app | src/main/java/org/example/main/RunJetty.kt | src/main/java/org/example/main/RunJetty.kt | package org.example.main
import org.avaje.jettyrunner.JettyRun
/**
* A Kotlin main method to run Jetty.
*/
fun main(args: Array<String>) {
println("starting jetty ...")
val jettyRun = JettyRun()
jettyRun.runServer()
} | apache-2.0 | Kotlin | |
ebbf3ef638d4ab0818effcb748c45af5ecaeb2db | Add GE access key to Util/Performance | blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpira... | .teamcity/Gradle_Util_Performance/Project.kt | .teamcity/Gradle_Util_Performance/Project.kt | package Gradle_Util_Performance
import Gradle_Util_Performance.buildTypes.AdHocPerformanceScenarioLinux
import Gradle_Util_Performance.buildTypes.AdHocPerformanceScenarioMacOS
import Gradle_Util_Performance.buildTypes.AdHocPerformanceScenarioWindows
import Gradle_Util_Performance.buildTypes.AdHocPerformanceTestCoordin... | package Gradle_Util_Performance
import Gradle_Util_Performance.buildTypes.AdHocPerformanceScenarioLinux
import Gradle_Util_Performance.buildTypes.AdHocPerformanceScenarioMacOS
import Gradle_Util_Performance.buildTypes.AdHocPerformanceScenarioWindows
import Gradle_Util_Performance.buildTypes.AdHocPerformanceTestCoordin... | apache-2.0 | Kotlin |
db859e7421af1cd118f4698d1a660269e3e68565 | fix #7 | gotev/recycler-adapter,gotev/recycler-adapter | recycleradapter/src/main/java/net/gotev/recycleradapter/RecyclerAdapterViewHolder.kt | recycleradapter/src/main/java/net/gotev/recycleradapter/RecyclerAdapterViewHolder.kt | package net.gotev.recycleradapter
import android.os.Bundle
import android.view.View
import androidx.recyclerview.widget.RecyclerView
import java.lang.ref.WeakReference
/**
* Base ViewHolder class to extend in subclasses.
* @author Aleksandar Gotev
*/
abstract class RecyclerAdapterViewHolder(itemView: View, adapter... | package net.gotev.recycleradapter
import android.os.Bundle
import android.view.View
import androidx.recyclerview.widget.RecyclerView
import java.lang.ref.WeakReference
/**
* Base ViewHolder class to extend in subclasses.
* @author Aleksandar Gotev
*/
abstract class RecyclerAdapterViewHolder(itemView: View, adapter... | apache-2.0 | Kotlin |
fcced317586bf23cab4226f796da28b531e8684a | Use reloadAll() to reload all config files | axelrindle/SimpleCoins | src/main/kotlin/de/axelrindle/simplecoins/command/ReloadCommand.kt | src/main/kotlin/de/axelrindle/simplecoins/command/ReloadCommand.kt | package de.axelrindle.simplecoins.command
import de.axelrindle.pocketknife.PocketCommand
import de.axelrindle.simplecoins.CoinManager
import de.axelrindle.simplecoins.SimpleCoins
import org.bukkit.command.Command
import org.bukkit.command.CommandSender
internal class ReloadCommand : PocketCommand() {
override fu... | package de.axelrindle.simplecoins.command
import de.axelrindle.pocketknife.PocketCommand
import de.axelrindle.simplecoins.CoinManager
import de.axelrindle.simplecoins.SimpleCoins
import org.bukkit.command.Command
import org.bukkit.command.CommandSender
internal class ReloadCommand : PocketCommand() {
override fu... | mit | Kotlin |
3d63e5c8a5fccddbfb05f5c0a7681dc7919cbe52 | Upgrade Android sample to AGP 3.0.1 (#603) | blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle-script-kotlin,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,robinver... | samples/hello-android/build.gradle.kts | samples/hello-android/build.gradle.kts | plugins {
id("com.android.application") version "3.0.1"
kotlin("android") version "1.1.51"
}
android {
buildToolsVersion("27.0.1")
compileSdkVersion(27)
defaultConfig {
minSdkVersion(15)
targetSdkVersion(27)
applicationId = "com.example.kotlingradle"
versionCode = ... | plugins {
id("com.android.application") version "3.0.0"
kotlin("android") version "1.1.51"
}
android {
buildToolsVersion("27.0.0")
compileSdkVersion(27)
defaultConfig {
minSdkVersion(15)
targetSdkVersion(27)
applicationId = "com.example.kotlingradle"
versionCode = ... | apache-2.0 | Kotlin |
3b0c54993af0ae18ea6180acd082b9107610fd81 | Fix test. | cbeust/klaxon,cbeust/klaxon,cbeust/klaxon | klaxon/src/test/kotlin/com/beust/klaxon/Issue177.kt | klaxon/src/test/kotlin/com/beust/klaxon/Issue177.kt | package com.beust.klaxon
import org.assertj.core.api.Assertions.assertThat
import org.testng.annotations.Test
@Test
class Issue177 {
data class UserData(val id: Int,
val name: String,
val role: String,
val additionalRole: String? = ""
... | package com.beust.klaxon
import org.assertj.core.api.Assertions.assertThat
import org.testng.annotations.Test
@Test
class Issue177 {
data class UserData(val id: Int,
val name: String,
val role: String,
val additionalRole: String = ""
... | apache-2.0 | Kotlin |
61d59c92817e4f183cd632a1c2fde61b0fa4c5f6 | Update Empty.kt | vimeo/vimeo-networking-java,vimeo/vimeo-networking-java,vimeo/vimeo-networking-java | models/src/main/java/com/vimeo/networking2/Empty.kt | models/src/main/java/com/vimeo/networking2/Empty.kt | package com.vimeo.networking2
import com.squareup.moshi.JsonClass
/**
* This class is here for when you are declaring a generic type in Kotlin that also needs
* to be used by Java and the type generator. We can't use Nothing because Java doesn't know
* about this type and we can't use Void because it is not parcel... | package com.vimeo.networking2
import com.squareup.moshi.JsonClass
/**
* This class is here for when you are declaring a generic type in Kotlin that also needs
* to be used by Java and the type generator. We can't use Nothing because Java doesn't know
* about this type and we can't use Void because it is not parcel... | mit | Kotlin |
82f14a7d59120e9de31351409f81d10671e4e394 | Hide soft keyboard after submitting search query throughout app (#5837) | inorichi/mangafeed,inorichi/tachiyomi,inorichi/tachiyomi,inorichi/mangafeed,CarlosEsco/tachiyomi | app/src/main/java/eu/kanade/tachiyomi/widget/TachiyomiSearchView.kt | app/src/main/java/eu/kanade/tachiyomi/widget/TachiyomiSearchView.kt | package eu.kanade.tachiyomi.widget
import android.content.Context
import android.util.AttributeSet
import android.view.inputmethod.EditorInfo
import androidx.appcompat.widget.SearchView
import androidx.core.view.inputmethod.EditorInfoCompat
import eu.kanade.tachiyomi.R
import eu.kanade.tachiyomi.data.preference.Prefer... | package eu.kanade.tachiyomi.widget
import android.content.Context
import android.util.AttributeSet
import androidx.appcompat.widget.SearchView
import androidx.core.view.inputmethod.EditorInfoCompat
import eu.kanade.tachiyomi.R
import eu.kanade.tachiyomi.data.preference.PreferencesHelper
import eu.kanade.tachiyomi.data... | apache-2.0 | Kotlin |
904228771360406b4819e67b7689f8c5daf289a4 | bump selenide from 6.1.1 to 6.4.0 (via #732) | allure-framework/allure-java,allure-framework/allure-java | allure-selenide/build.gradle.kts | allure-selenide/build.gradle.kts | description = "Allure Selenide Integration"
val selenideVersion = "6.4.0"
dependencies {
api(project(":allure-java-commons"))
compileOnly("com.codeborne:selenide:$selenideVersion")
testImplementation("com.codeborne:selenide:$selenideVersion")
testImplementation("org.mockito:mockito-core")
testImpl... | description = "Allure Selenide Integration"
val selenideVersion = "6.1.1"
dependencies {
api(project(":allure-java-commons"))
compileOnly("com.codeborne:selenide:$selenideVersion")
testImplementation("com.codeborne:selenide:$selenideVersion")
testImplementation("org.mockito:mockito-core")
testImpl... | apache-2.0 | Kotlin |
624b29a707c37d849cbeecdeafd0ea366ceed7f3 | Allow nullable Style in kotlinStyle | facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho | litho-core-kotlin/src/main/kotlin/com/facebook/litho/StyleCompat.kt | litho-core-kotlin/src/main/kotlin/com/facebook/litho/StyleCompat.kt | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | apache-2.0 | Kotlin |
6ef086016205014146137dcdf20b90a8e694f47d | update Player class | clappr/clappr-android,clappr/clappr-android | player/src/main/kotlin/com/globo/clappr/Player.kt | player/src/main/kotlin/com/globo/clappr/Player.kt | package com.globo.clappr
import android.view.ViewGroup
import com.globo.clappr.base.BaseObject
import com.globo.clappr.plugin.Loader
import com.globo.clappr.base.Options
import com.globo.clappr.components.Core
/**
* Main Clappr class.
*
* Once instantiated it should be attached to ViewGroup before playback can be... | package com.globo.clappr
import com.globo.clappr.base.BaseObject
import com.globo.clappr.base.Options
import com.globo.clappr.components.Core
/**
* Main Clappr class.
*
* Once instantiated it should be attached to ViewGroup before playback can begin.
*/
class Player : BaseObject {
val core : Core
constr... | bsd-3-clause | Kotlin |
6cf871f568785286d1d819a376ed3c5f6d256a13 | introduce `runIf` method | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | platform/util-ex/src/com/intellij/util/KtUtils.kt | platform/util-ex/src/com/intellij/util/KtUtils.kt | // Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
@file:JvmName("KotlinUtils")
package com.intellij.util
inline fun <reified T> Any?.castSafelyTo(): T? = this as? T
inline fun <T> runIf(condition: Boolean, block: () -> T): T? ... | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
@file:JvmName("KotlinUtils")
package com.intellij.util
inline fun <reified T> Any?.castSafelyTo(): T? = this as? T
| apache-2.0 | Kotlin |
094d43594338a5d0af2f82f718dd2a11875b2ddd | Update dependencies | Mauin/detekt,Mauin/detekt,arturbosch/detekt,Mauin/detekt,rock3r/detekt,rock3r/detekt,rock3r/detekt,arturbosch/detekt,arturbosch/detekt,Mauin/detekt | detekt-intellij-plugin/build.gradle.kts | detekt-intellij-plugin/build.gradle.kts | import org.jetbrains.intellij.IntelliJPluginExtension
import org.jetbrains.intellij.tasks.RunIdeaTask
version = "1.0.0"
repositories {
maven {
setUrl("http://dl.bintray.com/jetbrains/intellij-plugin-service")
}
}
apply {
plugin("java")
plugin("kotlin")
}
plugins {
id("org.jetbrains.intel... | import org.jetbrains.intellij.IntelliJPluginExtension
import org.jetbrains.intellij.tasks.RunIdeaTask
version = "1.0.0"
repositories {
maven {
setUrl("http://dl.bintray.com/jetbrains/intellij-plugin-service")
}
}
apply {
plugin("java")
plugin("kotlin")
}
plugins {
id("org.jetbrains.intel... | apache-2.0 | Kotlin |
4f8b870282c04f0eab2671c2bc42025867b2043d | add draft impl of jax-rs path variables | viartemev/requestmapper | src/main/kotlin/com/viartemev/requestmapper/annotations/jaxrs/JaxRsMappingAnnotation.kt | src/main/kotlin/com/viartemev/requestmapper/annotations/jaxrs/JaxRsMappingAnnotation.kt | package com.viartemev.requestmapper.annotations.jaxrs
import com.intellij.psi.PsiAnnotation
import com.intellij.psi.PsiMethod
import com.intellij.psi.PsiParameter
import com.viartemev.requestmapper.RequestMappingItem
import com.viartemev.requestmapper.annotations.MappingAnnotation
import com.viartemev.requestmapper.an... | package com.viartemev.requestmapper.annotations.jaxrs
import com.intellij.psi.PsiAnnotation
import com.intellij.psi.PsiMethod
import com.viartemev.requestmapper.RequestMappingItem
import com.viartemev.requestmapper.annotations.MappingAnnotation
import com.viartemev.requestmapper.annotations.PathAnnotation
import com.v... | mit | Kotlin |
fdc680aaefbb73339107810b1e17aee2b524bea5 | Update AHCClientAdapter.kt | elifarley/kotlin-examples,elifarley/kotlin-misc-lib,elifarley/kotlin-misc-lib,elifarley/kotlin-examples | src/com/github/elifarley/kotlin/http/AHCClientAdapter.kt | src/com/github/elifarley/kotlin/http/AHCClientAdapter.kt | package com.orgecc.lib.http
import com.jsoniter.JsonIterator
import org.asynchttpclient.*
import java.util.Map
class AHCClientAdapter : HttpClientAdapter<AsyncHttpClient, BoundRequestBuilder>() {
override val toSimpleHeaders: BoundRequestBuilder.() -> Headers = {
val field = RequestBuilderBase::class.ja... | package com.orgecc.lib.http
import com.jsoniter.JsonIterator
import org.asynchttpclient.*
import java.util.Map
class AHCClientAdapter : HttpClientAdapter<AsyncHttpClient, BoundRequestBuilder>() {
override val toSimpleHeaders: BoundRequestBuilder.() -> Headers = {
val field = RequestBuilderBase::class.ja... | mit | Kotlin |
75d7429d6135c7f2137bcaff9c9ef61f08961c27 | refactor #412 Modify indent. | toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/appwidget/search/Receiver.kt | app/src/main/java/jp/toastkid/yobidashi/appwidget/search/Receiver.kt | package jp.toastkid.yobidashi.appwidget.search
import android.appwidget.AppWidgetManager
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
/**
* Broadcast receiver.
*
* @author toastkidjp
*/
class Receiver : BroadcastReceiver() {
override fun onReceive(cont... | package jp.toastkid.yobidashi.appwidget.search
import android.appwidget.AppWidgetManager
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
/**
* Broadcast receiver.
*
* @author toastkidjp
*/
class Receiver : BroadcastReceiver() {
override fun onReceive(cont... | epl-1.0 | Kotlin |
11fe6c1dc38c62d737452a1feb70107f4412fd4a | refactor #827 Delete useless function. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/search/suggestion/Adapter.kt | app/src/main/java/jp/toastkid/yobidashi/search/suggestion/Adapter.kt | package jp.toastkid.yobidashi.search.suggestion
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.annotation.LayoutRes
import androidx.databinding.DataBindingUtil
import androidx.recyclerview.widget.ListAdapter
import jp.toastkid.lib.view.list.CommonItemCallback
import jp.toastkid.yobida... | package jp.toastkid.yobidashi.search.suggestion
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.annotation.LayoutRes
import androidx.databinding.DataBindingUtil
import androidx.recyclerview.widget.ListAdapter
import jp.toastkid.lib.view.list.CommonItemCallback
import jp.toastkid.yobida... | epl-1.0 | Kotlin |
f2e038c68761ed9dc7f456d4d01f25469e2b90a4 | Remove deprecated override in NbtFileTypeDetector | minecraft-dev/MinecraftDev,minecraft-dev/MinecraftDev,DemonWav/IntelliJBukkitSupport,minecraft-dev/MinecraftDev | src/main/kotlin/nbt/filetype/NbtFileTypeDetector.kt | src/main/kotlin/nbt/filetype/NbtFileTypeDetector.kt | /*
* Minecraft Dev for IntelliJ
*
* https://minecraftdev.org
*
* Copyright (c) 2020 minecraft-dev
*
* MIT License
*/
package com.demonwav.mcdev.nbt.filetype
import com.demonwav.mcdev.nbt.Nbt
import com.demonwav.mcdev.nbt.NbtFileParseTimeoutException
import com.intellij.openapi.fileTypes.FileType
import com.in... | /*
* Minecraft Dev for IntelliJ
*
* https://minecraftdev.org
*
* Copyright (c) 2020 minecraft-dev
*
* MIT License
*/
package com.demonwav.mcdev.nbt.filetype
import com.demonwav.mcdev.nbt.Nbt
import com.demonwav.mcdev.nbt.NbtFileParseTimeoutException
import com.intellij.openapi.fileTypes.FileType
import com.in... | mit | Kotlin |
2d90a7a84e19681cd660f30864092b57321ec75c | Use module dependencies for Groovy 3 | gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,grad... | subprojects/build-scan-performance/build.gradle.kts | subprojects/build-scan-performance/build.gradle.kts | plugins {
id("gradlebuild.internal.java")
id("gradlebuild.performance-test")
}
dependencies {
testFixturesApi(project(":internal-performance-testing"))
testFixturesApi(libs.commonsIo)
testFixturesApi(project(":base-services"))
testFixturesImplementation(project(":internal-testing"))
testFix... | plugins {
id("gradlebuild.internal.java")
id("gradlebuild.performance-test")
}
dependencies {
testFixturesApi(project(":internal-performance-testing"))
testFixturesApi(libs.commonsIo)
testFixturesApi(project(":base-services"))
testFixturesImplementation(project(":internal-testing"))
testFix... | apache-2.0 | Kotlin |
fea043cb55d510250a9057697c61fff21fb80b8e | add defualt preview | android/compose-samples,android/compose-samples | Reply/app/src/main/java/com/example/reply/MainActivity.kt | Reply/app/src/main/java/com/example/reply/MainActivity.kt | package com.example.reply
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview
import androidx.lifecycle.flowWithLifecycle
import androidx.lifecycle.lifecycleScope
im... | package com.example.reply
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview
import androidx.lifecycle.flowWithLifecycle
import androidx.lifecycle.lifecycleScope
im... | apache-2.0 | Kotlin |
c34dca22424dd4cbcd9a31232e8427546d404f95 | Add base data model classes | djkovrik/YapTalker,djkovrik/YapTalker | app/src/main/java/com/sedsoftware/yaptalker/data/Model.kt | app/src/main/java/com/sedsoftware/yaptalker/data/Model.kt | package com.sedsoftware.yaptalker.data
data class NewsItem(val summary: String, val topic: TopicItem)
data class ForumItem(val id: Int, val title: String, val image: String, val description: String,
val lastTopic: TopicItem)
data class TopicItem(val id: Int, val title: String, val answers: Int, val views: Int, v... | apache-2.0 | Kotlin | |
3cfea50b648a403739300ff0f7981c566a027223 | Update ESP.kt | Jire/Charlatano | src/main/kotlin/com/charlatano/scripts/esp/ESP.kt | src/main/kotlin/com/charlatano/scripts/esp/ESP.kt | /*
* Charlatano: Free and open-source (FOSS) cheat for CS:GO/CS:CO
* Copyright (C) 2017 - Thomas G. P. Nappo, Jonathan Beaudoin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, eit... | /*
* Charlatano: Free and open-source (FOSS) cheat for CS:GO/CS:CO
* Copyright (C) 2017 - Thomas G. P. Nappo, Jonathan Beaudoin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, eit... | agpl-3.0 | Kotlin |
fff6815af09d1bba2cc920549cef0840a8942d62 | Update to Android-Components 103.0.20220609181205. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | buildSrc/src/main/java/AndroidComponents.kt | buildSrc/src/main/java/AndroidComponents.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "103.0.20220609181205"
}
| /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "103.0.20220609143105"
}
| mpl-2.0 | Kotlin |
d5ff41bbded5bc417bbefc16681434801a803958 | Update to Android-Components 100.0.20220323143118. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | buildSrc/src/main/java/AndroidComponents.kt | buildSrc/src/main/java/AndroidComponents.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "100.0.20220323143118"
}
| /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "100.0.20220322143329"
}
| mpl-2.0 | Kotlin |
ff078887b12191a6ca3bb6b5034dd6cb0a78f840 | Update to Android-Components 106.0.20220914204738. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | buildSrc/src/main/java/AndroidComponents.kt | buildSrc/src/main/java/AndroidComponents.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "106.0.20220914204738"
}
| /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "106.0.20220914143042"
}
| mpl-2.0 | Kotlin |
619e7271e766f29f77c97435e4f9f8fed792d689 | Increase heap memory to 6G for build scan performance test | blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,grad... | subprojects/build-scan-performance/build.gradle.kts | subprojects/build-scan-performance/build.gradle.kts | plugins {
id("gradlebuild.internal.java")
id("gradlebuild.performance-test")
}
dependencies {
testFixturesApi(project(":internal-performance-testing"))
testFixturesApi(libs.commonsIo)
testFixturesApi(project(":base-services"))
testFixturesImplementation(project(":internal-testing"))
testFix... | plugins {
id("gradlebuild.internal.java")
id("gradlebuild.performance-test")
}
dependencies {
testFixturesApi(project(":internal-performance-testing"))
testFixturesApi(libs.commonsIo)
testFixturesApi(project(":base-services"))
testFixturesImplementation(project(":internal-testing"))
testFix... | apache-2.0 | Kotlin |
e08aa527ee6b57db55766404b2d6eb20fb875a7f | Add getRecurrentErrors method | KotlinNLP/SimpleDNN | src/kotlin/com/kotlinnlp/simplednn/core/layers/RecurrentLayerUnit.kt | src/kotlin/com/kotlinnlp/simplednn/core/layers/RecurrentLayerUnit.kt | /* Copyright 2016-present The KotlinNLP Authors. All Rights Reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/.
* ------------------------------------------... | /* Copyright 2016-present The KotlinNLP Authors. All Rights Reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/.
* ------------------------------------------... | mpl-2.0 | Kotlin |
097a83e3baa567216cb14a17926488bf0a851222 | Fix some bugs in the search engine. | NerdNumber9/TachiyomiEH,NerdNumber9/TachiyomiEH | app/src/main/java/exh/search/Text.kt | app/src/main/java/exh/search/Text.kt | package exh.search
import exh.anyChar
import ru.lanwen.verbalregex.VerbalExpression
class Text: QueryComponent() {
val components = mutableListOf<TextComponent>()
fun asRegex(): VerbalExpression.Builder {
val builder = VerbalExpression.regex()
for(component in components) {
when(c... | package exh.search
import exh.anyChar
import ru.lanwen.verbalregex.VerbalExpression
class Text: QueryComponent() {
val components = mutableListOf<TextComponent>()
fun asRegex(): VerbalExpression.Builder {
val builder = VerbalExpression.regex()
for(component in components) {
when(c... | apache-2.0 | Kotlin |
723107455a735ceb9e41fe65b70dc2b644560460 | Allow month command only in projects mode - #83 | arturbosch/TiNBo,arturbosch/TiNBo,arturbosch/TiNBo | src/main/java/io/gitlab/arturbosch/tinbo/time/TimeSummaryCommands.kt | src/main/java/io/gitlab/arturbosch/tinbo/time/TimeSummaryCommands.kt | package io.gitlab.arturbosch.tinbo.time
import io.gitlab.arturbosch.tinbo.WeekSummary
import io.gitlab.arturbosch.tinbo.api.Command
import io.gitlab.arturbosch.tinbo.api.Summarizable
import io.gitlab.arturbosch.tinbo.config.ModeAdvisor
import io.gitlab.arturbosch.tinbo.plugins.TimeSummaryPluginHelper
import io.gitlab.... | package io.gitlab.arturbosch.tinbo.time
import io.gitlab.arturbosch.tinbo.WeekSummary
import io.gitlab.arturbosch.tinbo.api.Command
import io.gitlab.arturbosch.tinbo.api.Summarizable
import io.gitlab.arturbosch.tinbo.config.ModeAdvisor
import io.gitlab.arturbosch.tinbo.plugins.TimeSummaryPluginHelper
import io.gitlab.... | apache-2.0 | Kotlin |
8b3dfc98e098f5779dbd52d62bfdbc108592045b | Remove extra print statement | kvakil/venus,kvakil/venus,kvakil/venus | src/main/kotlin/venus/riscv/insts/dsl/impls/STypeImplementation32.kt | src/main/kotlin/venus/riscv/insts/dsl/impls/STypeImplementation32.kt | package venus.riscv.insts.dsl.impls
import venus.riscv.InstructionField
import venus.riscv.MachineCode
import venus.simulator.Simulator
class STypeImplementation32(private val store: (Simulator, Int, Int) -> Unit) : InstructionImplementation {
override operator fun invoke(mcode: MachineCode, sim: Simulator) {
... | package venus.riscv.insts.dsl.impls
import venus.riscv.InstructionField
import venus.riscv.MachineCode
import venus.simulator.Simulator
class STypeImplementation32(private val store: (Simulator, Int, Int) -> Unit) : InstructionImplementation {
override operator fun invoke(mcode: MachineCode, sim: Simulator) {
... | mit | Kotlin |
1fdd65e02e1774ff1e5a3a67db6633b7fbec5510 | Rename to `smoke test` | jponge/vertx-gradle-plugin,jponge/vertx-gradle-plugin,jponge/vertx-gradle-plugin,jponge/vertx-gradle-plugin | src/test/kotlin/io/vertx/gradle/VertxPluginTest.kt | src/test/kotlin/io/vertx/gradle/VertxPluginTest.kt | package io.vertx.gradle
import org.gradle.testkit.runner.GradleRunner
import org.junit.Test
import java.io.File
/**
* @author [Julien Ponge](https://julien.ponge.org/)
*/
class VertxPluginTest {
@Test
fun `smoke test`() {
GradleRunner.create()
.withProjectDir(File("src/test/gradle/simple-project"))
... | package io.vertx.gradle
import org.gradle.testkit.runner.GradleRunner
import org.junit.Test
import java.io.File
/**
* @author [Julien Ponge](https://julien.ponge.org/)
*/
class VertxPluginTest {
@Test
fun `build simple project`() {
val runner = GradleRunner.create()
.withProjectDir(File("src/test/gra... | apache-2.0 | Kotlin |
b422214b68693a6987636c6e7d46efda2b0116bd | Fix problem with returning multiple default responses | Le-Chiffre/Yttrium,RimmerM/Yttrium | Server/src/com/rimmer/yttrium/server/http/Request.kt | Server/src/com/rimmer/yttrium/server/http/Request.kt | package com.rimmer.yttrium.server.http
import com.rimmer.yttrium.InvalidStateException
import com.rimmer.yttrium.NotFoundException
import com.rimmer.yttrium.UnauthorizedException
import com.rimmer.yttrium.router.HttpMethod
import io.netty.buffer.Unpooled
import io.netty.handler.codec.http.*
fun httpDefault(r: HttpReq... | package com.rimmer.yttrium.server.http
import com.rimmer.yttrium.InvalidStateException
import com.rimmer.yttrium.NotFoundException
import com.rimmer.yttrium.UnauthorizedException
import com.rimmer.yttrium.router.HttpMethod
import io.netty.buffer.Unpooled
import io.netty.handler.codec.http.*
fun httpDefault(r: HttpReq... | mit | Kotlin |
47dcff44c8e7fad9734d2351f4f98d962bed723b | Upgrade to AssertJ 3.13.1 | junit-team/junit-lambda,sbrannen/junit-lambda | buildSrc/src/main/kotlin/Versions.kt | buildSrc/src/main/kotlin/Versions.kt | import org.gradle.api.JavaVersion
object Versions {
// Languages
val jvmTarget = JavaVersion.VERSION_1_8
val kotlin = "1.3.40"
val groovy = "3.0.0-beta-2"
// Dependencies
val apiGuardian = "1.1.0"
val junit4 = "4.12"
val ota4j = "1.2.0"
val picocli = "3.9.6"
val univocity = "2... | import org.gradle.api.JavaVersion
object Versions {
// Languages
val jvmTarget = JavaVersion.VERSION_1_8
val kotlin = "1.3.40"
val groovy = "3.0.0-beta-2"
// Dependencies
val apiGuardian = "1.1.0"
val junit4 = "4.12"
val ota4j = "1.2.0"
val picocli = "3.9.6"
val univocity = "2... | epl-1.0 | Kotlin |
8bb9706e91d4448d3827dbda76e931346b22e5b6 | update build tools to 4.1.0 | mchllngr/QuickOpen | buildSrc/src/main/kotlin/Versions.kt | buildSrc/src/main/kotlin/Versions.kt | @file:Suppress("unused")
object SdkVersions {
const val COMPILE_SDK = 30
const val TARGET_SDK = 30
const val MIN_SDK = 21
}
object BuildScriptVersions {
const val BUILD_TOOLS_GRADLE = "4.1.0"
const val DEXCOUNT_GRADLE = "2.0.0-RC1"
const val VERSIONS_GRADLE = "0.33.0"
}
object Versions {
... | @file:Suppress("unused")
object SdkVersions {
const val COMPILE_SDK = 30
const val TARGET_SDK = 30
const val MIN_SDK = 21
}
object BuildScriptVersions {
const val BUILD_TOOLS_GRADLE = "4.1.0-rc03"
const val DEXCOUNT_GRADLE = "2.0.0-RC1"
const val VERSIONS_GRADLE = "0.33.0"
}
object Versions {... | apache-2.0 | Kotlin |
7ceef7426b8b41321870a0d62d1989c530e44847 | Upgrade build plugins | traintracker/traintracker,traintracker/traintracker,traintracker/traintracker | buildSrc/src/main/kotlin/versions.kt | buildSrc/src/main/kotlin/versions.kt | object PluginVersions {
val jib = "1.4.0"
val kotlin = "1.3.41"
val ktlint = "8.2.0"
val spotless = "3.24.0"
val springBoot = "2.2.0.M5"
val versions = "0.22.0"
}
object DependencyVersions {
val asciiTable = "0.3.2"
val jsoup = "1.12.1"
val testcontainers = "1.12.0"
}
| object PluginVersions {
val jib = "1.4.0"
val kotlin = "1.3.41"
val ktlint = "8.2.0"
val spotless = "3.24.0"
val springBoot = "2.2.0.M5"
val versions = "0.21.0"
}
object DependencyVersions {
val asciiTable = "0.3.2"
val jsoup = "1.12.1"
val testcontainers = "1.12.0"
}
| apache-2.0 | Kotlin |
3da8960cabcca50a20a77c3ac0b39727ad46c60c | Bump org.graalvm.buildtools.native from 0.9.14 to 0.9.15 (#4868) | open-telemetry/opentelemetry-java,open-telemetry/opentelemetry-java,open-telemetry/opentelemetry-java | settings.gradle.kts | settings.gradle.kts | pluginManagement {
plugins {
id("com.github.ben-manes.versions") version "0.43.0"
id("com.github.johnrengelman.shadow") version "7.1.2"
id("com.gradle.enterprise") version "3.11.2"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
id("org.jetbrains.kotlin.jvm") version "1.7.20"
id("o... | pluginManagement {
plugins {
id("com.github.ben-manes.versions") version "0.43.0"
id("com.github.johnrengelman.shadow") version "7.1.2"
id("com.gradle.enterprise") version "3.11.2"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
id("org.jetbrains.kotlin.jvm") version "1.7.20"
id("o... | apache-2.0 | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.