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
4036f85454db836de9707f0460bd60965ea276fb
Add comments to the PlaceDao
jguerinet/MyMartlet-Android,jguerinet/MyMartlet,jguerinet/MyMartlet,jguerinet/MyMartlet,jguerinet/MyMartlet
app/src/main/java/util/room/daos/PlaceDao.kt
app/src/main/java/util/room/daos/PlaceDao.kt
/* * Copyright 2014-2019 Julien Guerinet * * 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 2014-2018 Julien Guerinet * * 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
ec395fc53f65d6ace76a9f5db6d48aeccb1c2498
fix build
Adven27/Exam,Adven27/Exam,Adven27/Exam,Adven27/Exam,Adven27/Exam
example/src/test/kotlin/specs/ui/Ui.kt
example/src/test/kotlin/specs/ui/Ui.kt
package specs.ui import com.codeborne.selenide.Condition.exist import com.codeborne.selenide.Condition.text import com.codeborne.selenide.Selenide.`$` import org.openqa.selenium.By import specs.Specs class Ui : Specs() { fun hasText(text: String) { `$`(By.tagName("span")).shouldHave(text(text)) } ...
package specs.ui import com.codeborne.selenide.Condition.exist import com.codeborne.selenide.Condition.text import com.codeborne.selenide.Selenide.`$` import org.openqa.selenium.By import specs.Specs class Ui : Specs() { fun hasText(text: String?) { `$`(By.tagName("span")).shouldHave(text(text)) } ...
mit
Kotlin
c72eb119cf9074cef4c2743850b5adff9c363d14
Update subprojects/docs/src/snippets/testing/test-suite-multi-configure-each/kotlin/build.gradle.kts
gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle
subprojects/docs/src/snippets/testing/test-suite-multi-configure-each/kotlin/build.gradle.kts
subprojects/docs/src/snippets/testing/test-suite-multi-configure-each/kotlin/build.gradle.kts
/* * Copyright 2021 the original author or authors. * * 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 applica...
/* * Copyright 2021 the original author or authors. * * 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 applica...
apache-2.0
Kotlin
17c5aa8632d7e2c8ccd925d0913f8022706ba789
Implement XdmNullNode for NullConstructor.
rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin
src/lang-xquery/main/uk/co/reecedunn/intellij/plugin/xquery/ast/plugin/PluginNullConstructor.kt
src/lang-xquery/main/uk/co/reecedunn/intellij/plugin/xquery/ast/plugin/PluginNullConstructor.kt
/* * Copyright (C) 2016-2017, 2020 Reece H. Dunn * * 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 ...
/* * Copyright (C) 2016-2017, 2020 Reece H. Dunn * * 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 ...
apache-2.0
Kotlin
1340b6d87f68350cb14e0c4edde35b205a3c7d99
Bump objectbox-gradle-plugin from 3.0.1 to 3.1.1 in /project
owntracks/android,owntracks/android,owntracks/android
project/build.gradle.kts
project/build.gradle.kts
// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { extra.apply { set("dagger-version", "2.40.1") } repositories { google() mavenCentral() maven("https://plugins.gradle.org/m2/") } dependencies { c...
// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { extra.apply { set("dagger-version", "2.40.1") } repositories { google() mavenCentral() maven("https://plugins.gradle.org/m2/") } dependencies { c...
epl-1.0
Kotlin
c52d25af16a6737278c159ec63149d07a9a9dfdb
Fix the imports for Assemble release failure
android/nowinandroid,android/nowinandroid
core-network/src/release/java/com/google/samples/apps/nowinandroid/core/network/di/NetworkModule.kt
core-network/src/release/java/com/google/samples/apps/nowinandroid/core/network/di/NetworkModule.kt
/* * Copyright 2022 The Android Open Source Project * * 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 applica...
/* * Copyright 2022 The Android Open Source Project * * 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 applica...
apache-2.0
Kotlin
39f173b0f1d55670d0efb0abeff48430136bea66
Update gradle
Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2
buildSrc/build.gradle.kts
buildSrc/build.gradle.kts
plugins { `java-gradle-plugin` `kotlin-dsl` `kotlin-dsl-precompiled-script-plugins` } repositories { google() mavenCentral() maven("https://plugins.gradle.org/m2/") maven("https://dl.bintray.com/andreyberyukhov/FlowReactiveNetwork") } object PluginVersions { const val GRADLE_ANDROID = ...
plugins { `java-gradle-plugin` `kotlin-dsl` `kotlin-dsl-precompiled-script-plugins` } repositories { google() mavenCentral() maven("https://plugins.gradle.org/m2/") maven("https://dl.bintray.com/andreyberyukhov/FlowReactiveNetwork") } object PluginVersions { const val GRADLE_ANDROID = ...
mit
Kotlin
abf037d8a9640594a76b9f2524885da6f440bd41
change the OptiFine dev tweaker to work with OF 1.8.x H5 and later
octarine-noise/BetterFoliage,octarine-noise/BetterFoliage
src/main/kotlin/optifine/OptifineTweakerDevWrapper.kt
src/main/kotlin/optifine/OptifineTweakerDevWrapper.kt
package optifine import mods.octarinecore.tryDefault import net.minecraft.launchwrapper.IClassTransformer import net.minecraft.launchwrapper.ITweaker import net.minecraft.launchwrapper.LaunchClassLoader import java.io.File import java.net.URLClassLoader import java.util.zip.ZipFile class OptifineTweakerDevWrapper : I...
package optifine import net.minecraft.launchwrapper.IClassTransformer import net.minecraft.launchwrapper.ITweaker import net.minecraft.launchwrapper.LaunchClassLoader import java.io.File class OptifineTweakerDevWrapper : ITweaker { override fun acceptOptions(p0: MutableList<String>?, p1: File?, p2: File?, p3: Str...
mit
Kotlin
17429c881fe1d339a508ca11563570327aa39f3e
Remove duplication
StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android
app/src/main/java/org/stepik/android/view/course_list/resolver/TableLayoutHorizontalSpanCountResolver.kt
app/src/main/java/org/stepik/android/view/course_list/resolver/TableLayoutHorizontalSpanCountResolver.kt
package org.stepik.android.view.course_list.resolver import android.content.Context import org.stepic.droid.R import javax.inject.Inject class TableLayoutHorizontalSpanCountResolver @Inject constructor( private val context: Context ) { companion object { private const val SINGLE_ROW_SPAN_COUNT = 1 ...
package org.stepik.android.view.course_list.resolver import android.content.Context import android.content.res.Configuration import org.stepic.droid.R import javax.inject.Inject class TableLayoutHorizontalSpanCountResolver @Inject constructor( private val context: Context ) { companion object { privat...
apache-2.0
Kotlin
9bc75e3e2ee442dddde95097686c21a63f395641
Add AudioFocusRequesterTest
Doctoror/PainlessMusicPlayer,Doctoror/FuckOffMusicPlayer,Doctoror/PainlessMusicPlayer,Doctoror/FuckOffMusicPlayer,Doctoror/PainlessMusicPlayer
data/src/test/java/com/doctoror/fuckoffmusicplayer/data/media/playback/usecase/AudioFocusRequesterTest.kt
data/src/test/java/com/doctoror/fuckoffmusicplayer/data/media/playback/usecase/AudioFocusRequesterTest.kt
/* * Copyright (C) 2018 Yaroslav Mytkalyk * * 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...
apache-2.0
Kotlin
3103cda52d65b6b9edf53864e22dbcfb9df6cc10
Update Realm
Waboodoo/HTTP-Shortcuts,Waboodoo/HTTP-Shortcuts,Waboodoo/HTTP-Shortcuts
HTTPShortcuts/build.gradle.kts
HTTPShortcuts/build.gradle.kts
buildscript { repositories { jcenter() google() } dependencies { classpath("com.android.tools.build:gradle:4.0.1") classpath("io.realm:realm-gradle-plugin:7.0.8") classpath("com.bugsnag:bugsnag-android-gradle-plugin:4.+") classpath("org.jetbrains:markdown:0.1....
buildscript { repositories { jcenter() google() } dependencies { classpath("com.android.tools.build:gradle:4.0.1") classpath("io.realm:realm-gradle-plugin:7.0.7") classpath("com.bugsnag:bugsnag-android-gradle-plugin:4.+") classpath("org.jetbrains:markdown:0.1....
mit
Kotlin
0f34edd08c9dfe38151a31c60c55c956ac2a8d90
fix search
viartemev/requestmapper
src/main/kotlin/com/viartemev/requestmapper/annotations/spring/extraction/PsiReferenceExpressionExtractor.kt
src/main/kotlin/com/viartemev/requestmapper/annotations/spring/extraction/PsiReferenceExpressionExtractor.kt
package com.viartemev.requestmapper.annotations.spring.extraction import com.intellij.psi.* import com.intellij.psi.impl.java.stubs.index.JavaFieldNameIndex import com.viartemev.requestmapper.utils.unquote class PsiReferenceExpressionExtractor : PsiAnnotationValueExtractor<PsiReferenceExpression> { override fun ...
package com.viartemev.requestmapper.annotations.spring.extraction import com.intellij.psi.PsiLiteralExpression import com.intellij.psi.PsiReferenceExpression import com.intellij.psi.impl.java.stubs.index.JavaFieldNameIndex import com.viartemev.requestmapper.utils.unquote class PsiReferenceExpressionExtractor : PsiAnn...
mit
Kotlin
4a3b356fa3c33ff5387b280de31a9aba6493f8ee
Implement KSTypeReferenceSyntheticImpl.toString()
google/ksp,google/ksp,google/ksp
compiler-plugin/src/main/kotlin/com/google/devtools/ksp/symbol/impl/synthetic/KSTypeReferenceSyntheticImpl.kt
compiler-plugin/src/main/kotlin/com/google/devtools/ksp/symbol/impl/synthetic/KSTypeReferenceSyntheticImpl.kt
package com.google.devtools.ksp.symbol.impl.synthetic import com.google.devtools.ksp.symbol.* import com.google.devtools.ksp.symbol.impl.KSObjectCache class KSTypeReferenceSyntheticImpl(val ksType: KSType) : KSTypeReference { companion object : KSObjectCache<KSType, KSTypeReferenceSyntheticImpl>() { fun g...
package com.google.devtools.ksp.symbol.impl.synthetic import com.google.devtools.ksp.symbol.* import com.google.devtools.ksp.symbol.impl.KSObjectCache class KSTypeReferenceSyntheticImpl(val ksType: KSType) : KSTypeReference { companion object : KSObjectCache<KSType, KSTypeReferenceSyntheticImpl>() { fun g...
apache-2.0
Kotlin
62d5f69ef030deada0866a3f1d0dc3a27cb91a8f
implement copying IR tree with variable declarations
jiaminglu/kotlin-native,JuliusKunze/kotlin-native,JuliusKunze/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,jiaminglu/kotlin-native,jiaminglu/kotlin-native,JetBrains/kotlin-native,JuliusKunze/kotlin-native,wiltonlazary/kotlin-native,jiaminglu/kotlin-native,JetBrains/kotlin-native...
backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/common/DeepCopyIrTreeWithDeclarations.kt
backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/common/DeepCopyIrTreeWithDeclarations.kt
package org.jetbrains.kotlin.backend.common import org.jetbrains.kotlin.descriptors.* import org.jetbrains.kotlin.descriptors.impl.LocalVariableDescriptor import org.jetbrains.kotlin.ir.util.DeepCopyIrTree /** * Copies IR tree with descriptors of all declarations inside; * updates the references to these declaratio...
apache-2.0
Kotlin
698f01f2572e6da0a34c7c305c684787149e834e
Remove unnecessary superclass usage in Instant result binder provider
AndroidX/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/andro...
room/compiler/src/main/kotlin/androidx/room/solver/prepared/binderprovider/InstantPreparedQueryResultBinderProvider.kt
room/compiler/src/main/kotlin/androidx/room/solver/prepared/binderprovider/InstantPreparedQueryResultBinderProvider.kt
/* * Copyright 2018 The Android Open Source Project * * 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 applica...
/* * Copyright 2018 The Android Open Source Project * * 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 applica...
apache-2.0
Kotlin
41014e860f6f8210ebfc8ea88efbe87dabf4fbe2
Clarify Kotlin DSL TODO
gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,b...
subprojects/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/ClassPathSensitiveTask.kt
subprojects/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/ClassPathSensitiveTask.kt
/* * Copyright 2019 the original author or authors. * * 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 applica...
/* * Copyright 2019 the original author or authors. * * 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 applica...
apache-2.0
Kotlin
7c863399a41572262cbf35b308b523f0f4836880
Remove unnecessary `java.lang.System` import
robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle-script-kotlin,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle-script-kotlin,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,robinverdui...
samples/hello-android/build.gradle.kts
samples/hello-android/build.gradle.kts
import com.android.build.gradle.AppExtension import com.android.build.gradle.AppPlugin import com.android.builder.core.DefaultApiVersion import com.android.builder.core.DefaultProductFlavor import com.android.builder.model.ApiVersion import org.jetbrains.kotlin.gradle.plugin.KotlinAndroidPluginWrapper buildscript { ...
import com.android.build.gradle.AppExtension import com.android.build.gradle.AppPlugin import com.android.builder.core.DefaultApiVersion import com.android.builder.core.DefaultProductFlavor import com.android.builder.model.ApiVersion import org.jetbrains.kotlin.gradle.plugin.KotlinAndroidPluginWrapper import java.lan...
apache-2.0
Kotlin
650cd3e2c5f483f1f319ac5281a4a2ef9f404078
Update to Android-Components 99.0.20220210143122.
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 = "99.0.20220210143122" }
/* 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 = "99.0.20220209170927" }
mpl-2.0
Kotlin
d97af36511c442fb3dca40a8b410385c84878c45
Update to Android-Components 108.0.20221101143225
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 = "108.0.20221101143225" }
/* 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 = "108.0.20221031143305" }
mpl-2.0
Kotlin
b2dc452eac23a388ddc650e42168cb8ca276ae4a
Update to Android-Components 99.0.20220304190054.
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 = "99.0.20220304190054" }
/* 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 = "99.0.20220304143210" }
mpl-2.0
Kotlin
0a34fb0894eca200ceabb3b09cd0fb70c259bbe2
Update to Android-Components 107.0.20221011190253.
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.20221011190253" }
/* 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.20221011143144" }
mpl-2.0
Kotlin
2d0265baad1c20318090a9ab2732ff3206d8c6e2
Update Android Components to 91.0.20210705190256.
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 = "91.0.20210705190256" }
/* 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 = "91.0.20210624190127" }
mpl-2.0
Kotlin
be420636f39266889e4fe60339fdcd17790f67bd
Add all example repos as included build
SpineEventEngine/SpineEventEngine.github.io,SpineEventEngine/SpineEventEngine.github.io,SpineEventEngine/SpineEventEngine.github.io,SpineEventEngine/SpineEventEngine.github.io,SpineEventEngine/SpineEventEngine.github.io,SpineEventEngine/SpineEventEngine.github.io
settings.gradle.kts
settings.gradle.kts
/* * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
/* * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
apache-2.0
Kotlin
48a131236464c7aab4b5b88a1a31a3543f7e71c2
Update build.gradle.kts
Flank/flank,Flank/flank,Flank/flank,Flank/flank,Flank/flank,Flank/flank,Flank/flank,Flank/flank,Flank/flank,Flank/flank
integration_tests/build.gradle.kts
integration_tests/build.gradle.kts
import org.gradle.api.tasks.testing.logging.TestExceptionFormat import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { java kotlin(Plugins.Kotlin.PLUGIN_JVM) id(Plugins.DETEKT_PLUGIN) } group = "org.flank" version = "1.0" repositories { mavenCentral() maven(url = "https://dl.bintray.com...
import org.gradle.api.tasks.testing.logging.TestExceptionFormat import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { java kotlin(Plugins.Kotlin.PLUGIN_JVM) id(Plugins.DETEKT_PLUGIN) } group = "org.flank" version = "1.0" repositories { mavenCentral() maven(url = "https://dl.bintray.com...
apache-2.0
Kotlin
6abd67e4207b9910ffb9b762729fc847f0b043df
Bump db9010 version
zathras/misc,zathras/misc,zathras/misc,zathras/misc,zathras/misc
maven_import/build.gradle.kts
maven_import/build.gradle.kts
plugins { java kotlin("jvm") version "1.3.61" } group = "org.example" version = "1.0-SNAPSHOT" repositories { jcenter() maven { url = uri("http://maven.jovial.com") // Redirects to https://dl.bintray.com/zathras/maven/ // For github pacakges: // url = uri("https://ma...
plugins { java kotlin("jvm") version "1.3.61" } group = "org.example" version = "1.0-SNAPSHOT" repositories { jcenter() maven { url = uri("http://maven.jovial.com") // Redirects to https://dl.bintray.com/zathras/maven/ // For github pacakges: // url = uri("https://ma...
mit
Kotlin
f85ce5c5ebf37b0b74466209d4f065c849597027
Add DistributionArraySpec
KotlinNLP/SimpleDNN
test/kotlin/arrays/DistributionArraySpec.kt
test/kotlin/arrays/DistributionArraySpec.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
bae016172adbe89564b5f075ba3185ac5d527e5f
Bump metrics-core from 4.2.0 to 4.2.1 (#2525)
ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor
ktor-features/ktor-metrics/build.gradle.kts
ktor-features/ktor-metrics/build.gradle.kts
description = "" kotlin { sourceSets { val jvmMain by getting { dependencies { api("io.dropwizard.metrics:metrics-core:4.2.1") api("io.dropwizard.metrics:metrics-jvm:4.2.0") } } } }
description = "" kotlin { sourceSets { val jvmMain by getting { dependencies { api("io.dropwizard.metrics:metrics-core:4.2.0") api("io.dropwizard.metrics:metrics-jvm:4.2.0") } } } }
apache-2.0
Kotlin
cbfd71fc5d3ca97f42f911e619227119fbadce6f
Update ESP.kts
Jire/Charlatano
settings/ESP.kts
settings/ESP.kts
/* * 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
777f9e68e9975a859c45c143b6880bb22ead91ea
Update 'EqualsVerifier'.
jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics
buildSrc/src/main/kotlin/Libs.kt
buildSrc/src/main/kotlin/Libs.kt
/** * Defining the used external libraries. */ object Libs { const val ApacheCommonsMath = "org.apache.commons:commons-math3:3.6.1" const val EqualsVerifier = "nl.jqno.equalsverifier:equalsverifier:3.3" const val TestNG = "org.testng:testng:7.1.0" const val JPX = "io.jenetics:jpx:2.0.0" const val PRNGine = "io.j...
/** * Defining the used external libraries. */ object Libs { const val ApacheCommonsMath = "org.apache.commons:commons-math3:3.6.1" const val EqualsVerifier = "nl.jqno.equalsverifier:equalsverifier:3.1.13" const val TestNG = "org.testng:testng:7.1.0" const val JPX = "io.jenetics:jpx:2.0.0" const val PRNGine = "i...
apache-2.0
Kotlin
b56d11dd9ba446876f080478cfa829898ed31cba
Remove unnecessary dependencies from :snapshots
gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,robinverdu...
subprojects/snapshots/snapshots.gradle.kts
subprojects/snapshots/snapshots.gradle.kts
/* * Copyright 2018 the original author or authors. * * 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 applica...
/* * Copyright 2018 the original author or authors. * * 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 applica...
apache-2.0
Kotlin
d78cc7edb53d5b6cf21753e2df2741b822c838ac
change readTimeout add a loop ,check result is ok
QingMings/flashair,QingMings/flashair
src/main/kotlin/com/iezview/service/LastFileService.kt
src/main/kotlin/com/iezview/service/LastFileService.kt
package com.iezview.service import com.iezview.controller.SolutionController import com.iezview.controller.enQueue import com.iezview.model.Camera import javafx.concurrent.Service import javafx.concurrent.Task import tornadofx.* /** * Created by shishifanbuxie on 2017/4/23. * 获取最新拍摄的一张照片信息 服务 */ class LastFileServ...
package com.iezview.service import com.iezview.controller.SolutionController import com.iezview.controller.enQueue import com.iezview.model.Camera import javafx.concurrent.Service import javafx.concurrent.Task import tornadofx.* /** * Created by shishifanbuxie on 2017/4/23. * 获取最新拍摄的一张照片信息 服务 */ class LastFileServ...
mit
Kotlin
9e9f4ba68eb82ab7e7a36ff19dd967144259ed1d
Fix test.
cbeust/klaxon,cbeust/klaxon,cbeust/klaxon
src/test/kotlin/com/beust/klaxon/TestLexerInputSize.kt
src/test/kotlin/com/beust/klaxon/TestLexerInputSize.kt
package com.beust.klaxon import org.testng.annotations.Test import java.io.ByteArrayInputStream import java.io.InputStream import java.io.SequenceInputStream import kotlin.test.assertEquals @Test class TestLexerInputSize { @Test fun testInputNotReadFully() { var read = 0 val PREFIX = "{\"a\":\...
package com.beust.klaxon import org.testng.annotations.Test import java.io.ByteArrayInputStream import java.io.InputStream import java.io.SequenceInputStream import kotlin.test.assertEquals @Test class TestLexerInputSize { @Test fun testInputNotReadFully() { var read = 0 val PREFIX = "{\"a\":\...
apache-2.0
Kotlin
4450e34efb9ac765d10c1e0e28f7f5e71c8c8567
Add PropSpec
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...
mit
Kotlin
2b566b398e6ab1e5d0277eac74d57b9e71f18c1f
update dependency com.velocitypowered:velocity-api to v1.1.3 (#3146)
PEXPlugins/PermissionsEx,PEXPlugins/PermissionsEx,PEXPlugins/PermissionsEx
platform/velocity/build.gradle.kts
platform/velocity/build.gradle.kts
/* * PermissionsEx * Copyright (C) zml and PermissionsEx contributors * * 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 re...
/* * PermissionsEx * Copyright (C) zml and PermissionsEx contributors * * 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 re...
apache-2.0
Kotlin
b4dbdbb508b4bea1fcd7e5a48ebbe6a716af9c1f
Add hypot(NaN, 0.0) that fails on ios_arm64
JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,wiltonlazary/kotlin-native,wiltonlazary/kotlin-native,wiltonlazary/kotlin-...
backend.native/tests/runtime/basic/hypot.kt
backend.native/tests/runtime/basic/hypot.kt
/* * Copyright 2010-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. */ import kotlin.test.* import kotlin.math.* fun main() { val hf = hypot(Float.NEGATIVE_INFINITY, Float.NaN) println("float hypot: $hf ${hf.toRawBits().toString(1...
/* * Copyright 2010-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. */ import kotlin.test.* import kotlin.math.* fun main() { val hf = hypot(Float.NEGATIVE_INFINITY, Float.NaN) println("float hypot: $hf ${hf.toRawBits().toString(1...
apache-2.0
Kotlin
d5456f8ac30c52ba406d400f34b0857240e76798
Update to Android-Components 100.0.20220328190127.
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.20220328190127" }
/* 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.20220328143428" }
mpl-2.0
Kotlin
1c66276d656f6e3c0d356022e4ee4a4429736498
Update to Android-Components 98.0.20220120143203.
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.20220120143203" }
/* 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.20220119214955" }
mpl-2.0
Kotlin
cc8710273d3a078cc2be4ccf0575dfc58d744a7d
Update to Android-Components 106.0.20220906143158.
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.20220906143158" }
/* 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.20220905190143" }
mpl-2.0
Kotlin
947cc32c288633223909269b0c111667599cfb66
Revert accidental `hello-kotlin` sample changes
gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle-script-kotlin,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/g...
samples/hello-kotlin/build.gradle.kts
samples/hello-kotlin/build.gradle.kts
buildscript { repositories { gradleScriptKotlin() } dependencies { classpath(kotlinModule("gradle-plugin")) } } apply { plugin("kotlin") plugin<ApplicationPlugin>() } configure<ApplicationPluginConvention> { mainClassName = "samples.HelloWorldKt" } repositories { gra...
buildscript { repositories { gradleScriptKotlin() } dependencies { classpath(kotlinModule("gradle-plugin", version = "1.0.3")) } } apply { plugin("kotlin") plugin<ApplicationPlugin>() } configure<ApplicationPluginConvention> { mainClassName = "samples.HelloWorldKt" } rep...
apache-2.0
Kotlin
69018d761e58249f189afdea017dc3ad293de5a9
Fix store state notifier bug
Reduks/Reduks
src/main/kotlin/com/reduks/reduks/Store.kt
src/main/kotlin/com/reduks/reduks/Store.kt
package com.reduks.reduks import com.reduks.reduks.subscription.Subscriber import com.reduks.reduks.subscription.Subscription class Store<State>(initialState: State, initialReducer: (state: State, action: Action<State>) -> State, enhancer: Enhancer<State>? = null) { private val subscribers: MutableList<Subscribe...
package com.reduks.reduks import com.reduks.reduks.subscription.Subscriber import com.reduks.reduks.subscription.Subscription class Store<State>(initialState: State, initialReducer: (state: State, action: Action<State>) -> State, enhancer: Enhancer<State>? = null) { private val subscribers: MutableList<Subscribe...
mit
Kotlin
146503360aecfb56abf867feb7ccafbc14d784a7
Update to Android-Components 104.0.20220707143048.
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 = "104.0.20220707143048" }
/* 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 = "104.0.20220706143109" }
mpl-2.0
Kotlin
b625aeae77f30e21c56648b02b8926ccd9a901ce
Update to Android-Components 100.0.20220313155838.
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.20220313155838" }
/* 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.20220313143340" }
mpl-2.0
Kotlin
d296e959012c8f2117aa1edc6ffd0630763e637b
Update to Android-Components 98.0.20220123143137.
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.20220123143137" }
/* 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.20220122190337" }
mpl-2.0
Kotlin
253b17b98d9c1d4d51e9940eaed58b76cecc2d07
fix multipart forms example comment (#489)
http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k
src/docs/cookbook/multipart_forms/example_processing.kt
src/docs/cookbook/multipart_forms/example_processing.kt
package cookbook.multipart_forms import org.http4k.client.ApacheClient import org.http4k.core.Body import org.http4k.core.ContentType import org.http4k.core.Method.POST import org.http4k.core.MultipartEntity import org.http4k.core.Request import org.http4k.core.Response import org.http4k.core.Status.Companion.OK impor...
package cookbook.multipart_forms import org.http4k.client.ApacheClient import org.http4k.core.Body import org.http4k.core.ContentType import org.http4k.core.Method.POST import org.http4k.core.MultipartEntity import org.http4k.core.Request import org.http4k.core.Response import org.http4k.core.Status.Companion.OK impor...
apache-2.0
Kotlin
368e9c75c63d8d2f7dc78f920061e17a955933ec
クリア時に、Regionが消えない不具合の修正
kazhida/surroundcalc,kazhida/surroundcalc
src/com/abplus/surroundcalc/models/Drawing.kt
src/com/abplus/surroundcalc/models/Drawing.kt
package com.abplus.surroundcalc.models import java.util.ArrayList import android.util.Log /** * Created by kazhida on 2013/12/27. */ class Drawing private (val keyColor: Drawing.KeyColor) { enum class KeyColor { BLUE GREEN RED YELLOW } public trait KeyHolder { ...
package com.abplus.surroundcalc.models import java.util.ArrayList import android.util.Log /** * Created by kazhida on 2013/12/27. */ class Drawing private (val keyColor: Drawing.KeyColor) { enum class KeyColor { BLUE GREEN RED YELLOW } public trait KeyHolder { ...
bsd-2-clause
Kotlin
068e492a9809674ff7fd0bcdc1a04c3a04431dd9
Bump plexus-component-annotations from 2.1.0 to 2.1.1 (#464)
open-telemetry/opentelemetry-java-contrib,open-telemetry/opentelemetry-java-contrib,open-telemetry/opentelemetry-java-contrib
maven-extension/build.gradle.kts
maven-extension/build.gradle.kts
plugins { id("java") id("com.github.johnrengelman.shadow") id("otel.java-conventions") id("otel.publish-conventions") } // NOTE // `META-INF/plexus/components.xml` is manually handled under src/main/resources because there is no Gradle // equivalent to the Maven plugin `plexus-component-metadata:generate-metad...
plugins { id("java") id("com.github.johnrengelman.shadow") id("otel.java-conventions") id("otel.publish-conventions") } // NOTE // `META-INF/plexus/components.xml` is manually handled under src/main/resources because there is no Gradle // equivalent to the Maven plugin `plexus-component-metadata:generate-metad...
apache-2.0
Kotlin
63df83e0ca712b939651fe1c686e6874fef383ba
Add a limitation of memory usage for test task.
kamatama41/embulk-test-helpers,kamatama41/embulk-test-helpers
build.gradle.kts
build.gradle.kts
import com.github.kamatama41.gradle.gitrelease.GitReleaseExtension buildscript { repositories { jcenter() maven { setUrl("http://kamatama41.github.com/maven-repository/repository") } } dependencies { classpath("com.github.kamatama41:gradle-git-release-plugin:0.2.0") } } plugins...
import com.github.kamatama41.gradle.gitrelease.GitReleaseExtension buildscript { repositories { jcenter() maven { setUrl("http://kamatama41.github.com/maven-repository/repository") } } dependencies { classpath("com.github.kamatama41:gradle-git-release-plugin:0.2.0") } } plugins...
mit
Kotlin
9c64b7ced4feb2fcbf0ce7fa7631227453c5acf6
Bump io.freefair.maven-central.validate-poms from 6.4.3 to 6.4.3.1
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.42.0" id("net.ossindex.audit") version "0.4.11" id("com.gradle.plugin-publish") version "0.21.0" apply false id("io.freefair.maven-central.validate-poms") version "6.4.3.1" id("io.github.gradle-nexus.publish-plugin") version "1.1.0...
plugins { id("maven-publish") id("com.github.ben-manes.versions") version "0.42.0" id("net.ossindex.audit") version "0.4.11" id("com.gradle.plugin-publish") version "0.21.0" apply false id("io.freefair.maven-central.validate-poms") version "6.4.3" id("io.github.gradle-nexus.publish-plugin") version "1.1.0" ...
mit
Kotlin
511b2bbd28178dade47e4f7e0a408949c3ec4414
Align to GAP develop
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, runs migration scripts then integration and functional tests" }) { d...
plugins { id("com.neva.fork") id("com.cognifide.aem.common") } description = "Example" defaultTasks("develop") aem { tasks { sequence("develop", { description = "Builds and deploys applications, runs migration scripts then integration and functional tests" }) { depe...
apache-2.0
Kotlin
2d4ef319acd0d1a393455d5435449b059de5b992
Update to Android Studio 4.1
openHPI/android-app
build.gradle.kts
build.gradle.kts
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask import org.jlleitschuh.gradle.ktlint.reporter.ReporterType buildscript { repositories { jcenter() google() } dependencies { classpath("com.android.tools.build:gradle:4.1.0") classpath("org.jetbrains.kot...
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask import org.jlleitschuh.gradle.ktlint.reporter.ReporterType buildscript { repositories { jcenter() google() } dependencies { classpath("com.android.tools.build:gradle:4.0.2") classpath("org.jetbrains.kot...
bsd-3-clause
Kotlin
57792af22bcfb0d5c23bbd6560fcb4a8ac996788
Bump org.jetbrains.intellij from 1.5.0 to 1.5.1
krasa/GrepConsole,krasa/GrepConsole
build.gradle.kts
build.gradle.kts
plugins { id("java") id("org.jetbrains.intellij") version "1.5.1" } group = "GrepConsole" version = "12.12.211.6693.0" tasks { patchPluginXml { sinceBuild.set("211.6693.3") untilBuild.set("") changeNotes.set( buildString { append("- Fixed: Auto Clear<br>...
plugins { id("java") id("org.jetbrains.intellij") version "1.5.0" } group = "GrepConsole" version = "12.12.211.6693.0" tasks { patchPluginXml { sinceBuild.set("211.6693.3") untilBuild.set("") changeNotes.set( buildString { append("- Fixed: Auto Clear<br>...
apache-2.0
Kotlin
b7dbb7204f906d7ca182cb4a36a08ac43125e0ce
update kotlin version
wmh-demos/Secret,wmh-demos/Secret
build.gradle.kts
build.gradle.kts
plugins { java application kotlin("jvm") version "1.5.30" } group = "me.wayne" version = "1.0-SNAPSHOT" repositories { mavenCentral() } dependencies { implementation(kotlin("stdlib-jdk8")) implementation("com.google.code.gson:gson:2.8.2") testImplementation("org.junit.jupiter:junit-jupite...
plugins { java application kotlin("jvm") version "1.3.72" } group = "me.wayne" version = "1.0-SNAPSHOT" repositories { mavenCentral() } dependencies { implementation(kotlin("stdlib-jdk8")) implementation("com.google.code.gson:gson:2.8.2") testImplementation("org.junit.jupiter:junit-jupite...
apache-2.0
Kotlin
fe448c803308a4ca64f39dd1ad08604105ee55ba
Update to Android-Components 101.0.20220428190151.
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 = "101.0.20220428190151" }
/* 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 = "101.0.20220428143145" }
mpl-2.0
Kotlin
5fdd22e2059c59a6e9c286bc0007a38079028d86
Allow label and asciiz directive on same line
kvakil/venus,kvakil/venus,kvakil/venus
src/main/kotlin/assembler/Lexer.kt
src/main/kotlin/assembler/Lexer.kt
package venus.assembler object Lexer { private fun stripComment(line: String) = line.replaceAfter('#', "").replace("#", "") private fun cleanForLabel(line: String) = stripComment(line).trim() private fun getLabel(line: String) = cleanForLabel(line).substringBefore(':', "") private fun stripLabel(line: ...
package venus.assembler object Lexer { private fun stripComment(line: String) = line.replaceAfter('#', "").replace("#", "") private fun cleanForLabel(line: String) = stripComment(line).trim() private fun getLabel(line: String) = cleanForLabel(line).substringBefore(':', "") private fun stripLabel(line: ...
mit
Kotlin
788ea2a118beab2c48ac0f56baa64d3e741439b8
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/mediastore/build.gradle.kts
kotlin/services/mediastore/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() mavenLocal() } dependencies { implementation("aws.sdk.kotlin:mediastore:0.9.4-beta") testImplementation("...
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.5.31" application } group = "me.scmacdon" version = "1.0-SNAPSHOT" repositories { mavenCentral() mavenLocal() } dependencies { implementation("aws.sdk.kotlin:mediastore:0.9.0-alpha") testImplementation(...
apache-2.0
Kotlin
4665222e667645f761c1677cf1e4029a0dd0a206
Update to Android-Components 100.0.20220329220502.
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.20220329220502" }
/* 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.20220329190344" }
mpl-2.0
Kotlin
944f00d0d3a102c13215c2cea4817ce54c3762a8
Update to Android-Components 101.0.20220429190044.
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 = "101.0.20220429190044" }
/* 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 = "101.0.20220429152027" }
mpl-2.0
Kotlin
f084f1e3e329bd06e452a2bede4a593eadb35efe
Update to Android-Components 108.0.20221025143110.
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 = "108.0.20221025143110" }
/* 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 = "108.0.20221025010754" }
mpl-2.0
Kotlin
9ec9f2191099151ccc03d4f78e839c25784ee111
Update to Android-Components 98.0.20220116190057
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.20220116190057" }
/* 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.20220114002255" }
mpl-2.0
Kotlin
c3a1bb4ecee4160e4cb547d82e4394c559b60104
add by ping on 20171129 add onKeyDownEvent to fragment
jackping/AppBase,jackping/AppBase
base/src/main/java/com/yima/base/SimpleUi.kt
base/src/main/java/com/yima/base/SimpleUi.kt
package com.yima.base import android.app.Activity import android.content.Context import android.os.Bundle import android.support.v7.widget.Toolbar import android.view.KeyEvent import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import me.yokeyword.fragmentation.SupportActivity imp...
package com.yima.base import android.app.Activity import android.content.Context import android.os.Bundle import android.support.v7.widget.Toolbar import android.view.KeyEvent import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import me.yokeyword.fragmentation.SupportActivity imp...
apache-2.0
Kotlin
ee466501f0321421646fe8b7acc1e7912cffecb8
add RobotEditInterface
Seancheey/Ark-Sonah
src/com/seancheey/gui/RobotEditInterface.kt
src/com/seancheey/gui/RobotEditInterface.kt
package com.seancheey.gui import com.seancheey.game.ComponentModel import com.seancheey.game.DefaultComponent import com.seancheey.game.RobotModel /** * Created by Seancheey on 13/06/2017. * GitHub: https://github.com/Seancheey */ interface RobotEditInterface { var editingRobot: RobotModel fun addComponen...
mit
Kotlin
219c73472812bcb918e804479b7bcf271491558a
bump org.jetbrains.intellij in /code_samples/action_basics (#900)
JetBrains/intellij-sdk-docs,JetBrains/intellij-sdk-docs,JetBrains/intellij-sdk-docs
code_samples/action_basics/build.gradle.kts
code_samples/action_basics/build.gradle.kts
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. plugins { id("java") id("org.jetbrains.intellij") version "1.10.0" } group = "org.intellij.sdk" version = "2.0.0" repositories { mavenCentral() } java { sourceCompatibility = JavaVersion....
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. plugins { id("java") id("org.jetbrains.intellij") version "1.9.0" } group = "org.intellij.sdk" version = "2.0.0" repositories { mavenCentral() } java { sourceCompatibility = JavaVersion.V...
apache-2.0
Kotlin
59132b791c10ee97eda8527d33c574697291680c
Allow a Collection of topics (Strings) as an argument for subscribedTo().
zensum/franz,zensum/franz
src/main/kotlin/WorkerBuilder.kt
src/main/kotlin/WorkerBuilder.kt
package franz import franz.engine.ConsumerActorFactory import franz.engine.kafka_one.KafkaConsumerActorFactory private val stringDeser = "org.apache.kafka.common.serialization.StringDeserializer" private val byteArrayDeser = "org.apache.kafka.common.serialization.ByteArrayDeserializer" private val valueDeserKey = "va...
package franz import franz.engine.ConsumerActorFactory import franz.engine.kafka_one.KafkaConsumerActorFactory private val stringDeser = "org.apache.kafka.common.serialization.StringDeserializer" private val byteArrayDeser = "org.apache.kafka.common.serialization.ByteArrayDeserializer" private val valueDeserKey = "va...
mit
Kotlin
0b7d2f5da27c06ecd3c3fad6f5b3b5c953923efd
remove secondary constructor for now
evanchooly/kibble
src/test/resources/com/antwerkz/test/KotlinSampleClass.kt
src/test/resources/com/antwerkz/test/KotlinSampleClass.kt
package com.antwerkz.test import java.util.ArrayList import java.util.HashMap as HMap internal abstract class KotlinSampleClass(val cost: Double, ignored: Int) { protected open val age: Double = -1.0 val list: List<String> = ArrayList() val map: java.util.HashMap<String, Int> = java.util.HashMap() var...
package com.antwerkz.test import java.util.ArrayList import java.util.HashMap as HMap internal abstract class KotlinSampleClass(val cost: Double, ignored: Int) { protected open val age: Double = -1.0 val list: List<String> = ArrayList() val map: java.util.HashMap<String, Int> = java.util.HashMap() var...
apache-2.0
Kotlin
df363086f3f7d89d4b2524a5b05e1f8a2dc25e19
Update to Android-Components 98.0.20220202143123.
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.20220202143123" }
/* 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.20220201190146" }
mpl-2.0
Kotlin
b9278f5c402adfaddbf3ecef8cd4a780ac499a3d
Add AztecParserTest with HTML to/from tests
wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android
aztec/src/test/java/org/wordpress/aztec/AztecParserTest.kt
aztec/src/test/java/org/wordpress/aztec/AztecParserTest.kt
package org.wordpress.aztec import android.text.SpannableStringBuilder import org.junit.Assert import org.junit.Test import org.junit.runner.RunWith import org.robolectric.RobolectricGradleTestRunner import org.robolectric.annotation.Config /** * Tests for {@link AztecParser}. */ @RunWith(RobolectricGradleTestRunne...
mpl-2.0
Kotlin
0d809a7fff1b0d045270414f9205b2ae8665d169
Add Kotlin testlib to `api`
SpineEventEngine/base,SpineEventEngine/base,SpineEventEngine/base
testlib/build.gradle.kts
testlib/build.gradle.kts
/* * Copyright 2022, TeamDev. All rights reserved. * * 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 * * Redistribution and use in source...
/* * Copyright 2022, TeamDev. All rights reserved. * * 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 * * Redistribution and use in source...
apache-2.0
Kotlin
d7187d5ff2214007b0b670f74d791bc6b94f9708
Remove empty constructor
albertoruibal/karballo
src/main/kotlin/karballo/book/NoBook.kt
src/main/kotlin/karballo/book/NoBook.kt
package karballo.book import karballo.Board import karballo.Move class NoBook : Book { override fun getMove(board: Board): Int { return Move.NONE } }
package karballo.book import karballo.Board import karballo.Move class NoBook() : Book { override fun getMove(board: Board): Int { return Move.NONE } }
mit
Kotlin
6bcb66adb1bb341f2cf23c21b7b577ea12bc9adb
update Views
fengzhizi715/SAF-Kotlin-Utils,fengzhizi715/SAF-Kotlin-Utils
saf-kotlin-ext/src/main/java/com/safframework/ext/Views.kt
saf-kotlin-ext/src/main/java/com/safframework/ext/Views.kt
package com.safframework.ext import android.content.Context import android.graphics.Bitmap import android.util.Log import android.view.View import android.view.inputmethod.InputMethodManager /** * Created by Tony Shen on 2017/6/30. */ val View.isVisible: Boolean get() = visibility == View.VISIBLE val View.isIn...
package com.safframework.ext import android.content.Context import android.graphics.Bitmap import android.util.Log import android.view.View import android.view.inputmethod.InputMethodManager /** * Created by Tony Shen on 2017/6/30. */ val View.isVisible: Boolean get() = visibility == View.VISIBLE val View.isIn...
apache-2.0
Kotlin
351b0258fe468355811f5ce73beef65bbb6cd51d
Solve problem 2064
fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode
src/main/kotlin/leetcode/Problem2064.kt
src/main/kotlin/leetcode/Problem2064.kt
package leetcode import kotlin.math.max /** * https://leetcode.com/problems/minimized-maximum-of-products-distributed-to-any-store/ */ class Problem2064 { fun minimizedMaximum(n: Int, quantities: IntArray): Int { var min = 1 var max = quantities[0] for (i in 1 until quantities.size) { ...
package leetcode /** * https://leetcode.com/problems/minimized-maximum-of-products-distributed-to-any-store/ */ class Problem2064 { fun minimizedMaximum(n: Int, quantities: IntArray): Int { TODO() } } fun main() { val prob = Problem2064() println(prob.minimizedMaximum(6, intArrayOf(11,6))) /...
mit
Kotlin
b9c7182d6d290782be01198fe645fba7ca36612b
Remove unnecessary imports from Android sample
blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,blindpi...
samples/hello-android/build.gradle.kts
samples/hello-android/build.gradle.kts
import com.android.build.gradle.AppExtension import com.android.build.gradle.AppPlugin import com.android.build.gradle.internal.dsl.BuildType import com.android.builder.core.DefaultApiVersion import com.android.builder.core.DefaultProductFlavor import com.android.builder.model.ApiVersion import org.jetbrains.kotlin.gr...
import com.android.build.gradle.AppExtension import com.android.build.gradle.AppPlugin import com.android.build.gradle.internal.dsl.BuildType import com.android.builder.core.DefaultApiVersion import com.android.builder.core.DefaultProductFlavor import com.android.builder.model.ApiVersion import org.gradle.api.NamedDom...
apache-2.0
Kotlin
c53d4de4958237b1e0ddbbc682774f98f9596293
Create locale at construct time
craigjbass/pratura,craigjbass/pratura,craigjbass/pratura,craigjbass/pratura
src/main/kotlin/uk/co/craigbass/pratura/domain/Currency.kt
src/main/kotlin/uk/co/craigbass/pratura/domain/Currency.kt
package uk.co.craigbass.pratura.domain import org.joda.money.* import org.joda.money.format.MoneyFormatterBuilder import java.math.BigDecimal import java.util.* class Currency(val currency: String, val locale: Locale) { constructor(currency: String, country: String, language: String) : this(currency, Locale(lan...
package uk.co.craigbass.pratura.domain import org.joda.money.* import org.joda.money.format.MoneyFormatterBuilder import java.math.BigDecimal import java.util.* class Currency(val currency: String, val country: String, val language: String) { fun format(amount: BigDecimal): String { val currencyUnit = CurrencyU...
bsd-3-clause
Kotlin
76f85ae68a7ebee6f400206f97ad2f3f6dd5dc88
Add updateFromDiffs
kvakil/venus,kvakil/venus,kvakil/venus
src/main/kotlin/driver/Driver.kt
src/main/kotlin/driver/Driver.kt
package venus.driver import venus.assembler.Assembler import venus.linker.Linker import venus.simulator.Simulator import venus.simulator.Diff import venus.simulator.diffs.* // ktlint-disable no-wildcard-imports @JsName("Driver") object Driver { lateinit var sim: Simulator @JsName("assemble") fun assemble...
package venus.driver import venus.assembler.Assembler import venus.linker.Linker import venus.simulator.Simulator @JsName("Driver") object Driver { lateinit var sim: Simulator @JsName("assemble") fun assemble(text: String) { val prog = Assembler.assemble(text) val linked = Linker.link(lis...
mit
Kotlin
32c36b6addb63203a724de37f5b316179d94f3b4
Remove dead code
Kennyc1012/DashWeatherExtension
app/src/main/java/com/kennyc/dashweather/di/AppComponent.kt
app/src/main/java/com/kennyc/dashweather/di/AppComponent.kt
package com.kennyc.dashweather.di import android.content.Context import com.kennyc.dashweather.di.modules.DataModule import com.kennyc.dashweather.services.DarkSkyDashExtension import dagger.BindsInstance import dagger.Component import javax.inject.Named import javax.inject.Singleton @Singleton @Component(modules = [...
package com.kennyc.dashweather.di import android.content.Context import com.kennyc.dashweather.MainActivity import com.kennyc.dashweather.di.modules.DataModule import com.kennyc.dashweather.services.DarkSkyDashExtension import dagger.BindsInstance import dagger.Component import javax.inject.Named import javax.inject.S...
apache-2.0
Kotlin
d2eb3c6d5d5df911b4806406f5cf6deb7db83085
Add configurable preUploadFunction to MultipartUtil
tipsy/javalin,tipsy/javalin,tipsy/javalin,tipsy/javalin
javalin/src/main/java/io/javalin/http/util/MultipartUtil.kt
javalin/src/main/java/io/javalin/http/util/MultipartUtil.kt
/* * Javalin - https://javalin.io * Copyright 2017 David Åse * Licensed under Apache 2.0: https://github.com/tipsy/javalin/blob/master/LICENSE */ package io.javalin.http.util import io.javalin.http.UploadedFile import java.nio.charset.Charset import javax.servlet.MultipartConfigElement import javax.servlet.http.H...
/* * Javalin - https://javalin.io * Copyright 2017 David Åse * Licensed under Apache 2.0: https://github.com/tipsy/javalin/blob/master/LICENSE */ package io.javalin.http.util import io.javalin.http.UploadedFile import java.nio.charset.Charset import javax.servlet.MultipartConfigElement import javax.servlet.http.H...
apache-2.0
Kotlin
9ffabb7e1bd03e2f8d563cf1866239d26ea546a3
drop Application.closeHooks
ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor
ktor-core/src/org/jetbrains/ktor/application/Application.kt
ktor-core/src/org/jetbrains/ktor/application/Application.kt
package org.jetbrains.ktor.application import org.jetbrains.ktor.util.* import java.util.concurrent.* import java.util.concurrent.atomic.* /** * Represents configured and running web application, capable of handling requests */ open class Application(val environment: ApplicationEnvironment) : ApplicationCallPipelin...
package org.jetbrains.ktor.application import org.jetbrains.ktor.util.* import java.util.concurrent.* import java.util.concurrent.atomic.* /** * Represents configured and running web application, capable of handling requests */ open class Application(val environment: ApplicationEnvironment) : ApplicationCallPipelin...
apache-2.0
Kotlin
ea5b32c2d18cb66bd859c103b3dff312eb7e6f02
Make AconiteServerException a RuntimeException
AcapellaSoft/Aconite,AcapellaSoft/Aconite
aconite-server/src/io/aconite/server/AconiteServer.kt
aconite-server/src/io/aconite/server/AconiteServer.kt
package io.aconite.server import io.aconite.BodySerializer import io.aconite.Request import io.aconite.Response import io.aconite.StringSerializer import io.aconite.server.adapters.SuspendCallAdapter import io.aconite.server.errors.PassErrorHandler import io.aconite.server.filters.PassMethodFilter import io.aconite.se...
package io.aconite.server import io.aconite.BodySerializer import io.aconite.Request import io.aconite.Response import io.aconite.StringSerializer import io.aconite.server.adapters.SuspendCallAdapter import io.aconite.server.errors.PassErrorHandler import io.aconite.server.filters.PassMethodFilter import io.aconite.se...
mit
Kotlin
dcaa1fa4dc6c1303b4decde59321368f617d0c6f
Remove unused code. (#64)
gojuno/composer,gojuno/composer,gojuno/composer,gojuno/composer
composer/src/main/kotlin/com/gojuno/composer/Files.kt
composer/src/main/kotlin/com/gojuno/composer/Files.kt
package com.gojuno.composer import org.apache.commons.io.input.Tailer import org.apache.commons.io.input.TailerListener import rx.Emitter.BackpressureMode import rx.Observable import java.io.File import java.io.FileNotFoundException import java.lang.Exception fun tail(file: File): Observable<String> = Observable.crea...
package com.gojuno.composer import org.apache.commons.io.input.Tailer import org.apache.commons.io.input.TailerListener import rx.Emitter.BackpressureMode import rx.Observable import java.io.File import java.io.FileNotFoundException import java.lang.Exception fun tail(file: File): Observable<String> = Observable.crea...
apache-2.0
Kotlin
95f0b2abff0b4fac110da4129dcc8a8ae51e0d32
Fix npm caching
Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka
plugins/base/frontend/build.gradle.kts
plugins/base/frontend/build.gradle.kts
plugins { id("com.github.node-gradle.node") version "2.2.4" } val npmRunBuild = tasks.getByName("npm_run_build") { inputs.dir(file("src/main")) inputs.files(file("package.json"), file("webpack.config.js")) outputs.dir(file("dist/")) outputs.cacheIf { true } } task("generateFrontendFiles") { de...
plugins { id("com.moowork.node") version "1.3.1" } task("generateFrontendFiles") { dependsOn("npmInstall", "npm_run_build") } tasks { val npmRunBuild by registering { inputs.dir("$projectDir/src/main/") inputs.files("$projectDir/package.json", "$projectDir/webpack.config.js") outpu...
apache-2.0
Kotlin
1d97ce825f78c5dccd8c4b35162b91c05a478f59
Use ProtocolMessageEnum::getNumber not Enum::getOrdinal.
world-federation-of-advertisers/common-jvm,world-federation-of-advertisers/common-jvm
src/main/kotlin/org/wfanet/measurement/common/ProtoUtils.kt
src/main/kotlin/org/wfanet/measurement/common/ProtoUtils.kt
package org.wfanet.measurement.common import com.google.protobuf.MessageOrBuilder import com.google.protobuf.ProtocolMessageEnum import com.google.protobuf.Timestamp import com.google.protobuf.util.JsonFormat import java.time.Instant /** Converts a protobuf [MessageOrBuilder] into its canonical JSON representation.*/...
package org.wfanet.measurement.common import com.google.protobuf.MessageOrBuilder import com.google.protobuf.Timestamp import com.google.protobuf.util.JsonFormat import java.time.Instant /** Converts a protobuf [MessageOrBuilder] into its canonical JSON representation.*/ fun MessageOrBuilder.toJson(): String { retu...
apache-2.0
Kotlin
1cfe0bb4ad850555b20620618349f02b62aac66a
Change Gradle extension names
Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka
runners/gradle-plugin/src/main/kotlin/main.kt
runners/gradle-plugin/src/main/kotlin/main.kt
package org.jetbrains.dokka.gradle import org.gradle.api.Plugin import org.gradle.api.Project import java.io.File import java.io.InputStream import java.util.* open class DokkaPlugin : Plugin<Project> { override fun apply(project: Project) { DokkaVersion.loadFrom(javaClass.getResourceAsStream("/META-INF/...
package org.jetbrains.dokka.gradle import org.gradle.api.Plugin import org.gradle.api.Project import java.io.File import java.io.InputStream import java.util.* open class DokkaPlugin : Plugin<Project> { override fun apply(project: Project) { DokkaVersion.loadFrom(javaClass.getResourceAsStream("/META-INF/...
apache-2.0
Kotlin
a873a4a7a10ce9a74af76ba4d0f3e6972f975533
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/eventbridge/build.gradle.kts
kotlin/services/eventbridge/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() mavenLocal() } dependencies { implementation("aws.sdk.kotlin:eventbridge:0.14.3-beta") testImplementation...
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.5.31" application } group = "me.scmacdon" version = "1.0-SNAPSHOT" repositories { mavenCentral() mavenLocal() } dependencies { implementation("aws.sdk.kotlin:eventbridge:0.14.3-beta") testImplementation...
apache-2.0
Kotlin
f9c7e488d555c7bc17b10b9942752a75475b2173
Use string templates.
ethauvin/kobalt,cbeust/kobalt,cbeust/kobalt,ethauvin/kobalt,ethauvin/kobalt,cbeust/kobalt,ethauvin/kobalt
src/test/kotlin/com/beust/kobalt/ContextTest.kt
src/test/kotlin/com/beust/kobalt/ContextTest.kt
package com.beust.kobalt import com.beust.kobalt.api.KobaltContext import com.beust.kobalt.maven.aether.KobaltAether import com.google.inject.Inject import org.assertj.core.api.Assertions.assertThat import org.testng.annotations.DataProvider import org.testng.annotations.Guice import org.testng.annotations.Test import...
package com.beust.kobalt import com.beust.kobalt.api.KobaltContext import com.beust.kobalt.maven.aether.KobaltAether import com.google.inject.Inject import org.assertj.core.api.Assertions.assertThat import org.testng.annotations.DataProvider import org.testng.annotations.Guice import org.testng.annotations.Test import...
apache-2.0
Kotlin
21e997a0ee3a5fe9d9510b042074b59a65882bf0
Handle 9F4200
binaryfoo/emv-bertlv,binaryfoo/emv-bertlv
src/main/java/io/github/binaryfoo/TagInfo.kt
src/main/java/io/github/binaryfoo/TagInfo.kt
package io.github.binaryfoo import io.github.binaryfoo.decoders.* import kotlin.collections.mapOf import kotlin.text.isEmpty /** * How a single tag should be decoded. */ data class TagInfo( val shortName: String, val longName: String, val decoder: Decoder, // Decode the value of a BerTlv (pr...
package io.github.binaryfoo import io.github.binaryfoo.decoders.* import kotlin.collections.mapOf import kotlin.text.isEmpty /** * How a single tag should be decoded. */ data class TagInfo( val shortName: String, val longName: String, val decoder: Decoder, // Decode the value of a BerTlv (pr...
mit
Kotlin
e1543d3912fa84049c3e2aeffae3aa5ac4acfc07
Use values() instead of values property
Turbo87/intellij-emberjs,Turbo87/intellij-emberjs,Turbo87/intellij-emberjs,Turbo87/intellij-emberjs
src/main/kotlin/com/emberjs/EmberFileType.kt
src/main/kotlin/com/emberjs/EmberFileType.kt
package com.emberjs enum class EmberFileType(val fileExtension: String = "js") { ADAPTER(), COMPONENT(), CONTROLLER(), HELPER(), INITIALIZER(), MIXIN(), MODEL(), ROUTE(), SERIALIZER(), SERVICE(), TEMPLATE("hbs"), TRANSFORM(), VIEW(); val fileName = "${name.toLow...
package com.emberjs enum class EmberFileType(val fileExtension: String = "js") { ADAPTER(), COMPONENT(), CONTROLLER(), HELPER(), INITIALIZER(), MIXIN(), MODEL(), ROUTE(), SERIALIZER(), SERVICE(), TEMPLATE("hbs"), TRANSFORM(), VIEW(); val fileName = "${name.toLow...
apache-2.0
Kotlin
620ca8efa519cf7b206126d5e7e949908f06b6b2
Fix compilation issue
vilnius/tvarkau-vilniu,vilnius/tvarkau-vilniu
app/src/main/java/lt/vilnius/tvarkau/entity/Problem.kt
app/src/main/java/lt/vilnius/tvarkau/entity/Problem.kt
package lt.vilnius.tvarkau.entity import com.google.android.gms.maps.model.LatLng import com.google.gson.annotations.SerializedName import org.parceler.Parcel import org.threeten.bp.LocalDateTime @Parcel data class Problem( @SerializedName("docNo") val id: String? = null, val problemId: String...
package lt.vilnius.tvarkau.entity import com.google.android.gms.maps.model.LatLng import com.google.gson.annotations.SerializedName import org.parceler.Parcel import org.threeten.bp.LocalDateTime @Parcel data class Problem( @SerializedName("docNo") val id: String? = null, val problemId: String...
mit
Kotlin
995420290714dff102b9c991f0ffc84a16505235
Update RCS.kt
Jire/Charlatano
src/main/kotlin/com/charlatano/scripts/RCS.kt
src/main/kotlin/com/charlatano/scripts/RCS.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
e3a2f2d4f3943a051b3a89d1dcc756b89a868940
add mime types to `RustLanguage` and specify display name
ujpv/intellij-rust,ujpv/intellij-rust,Undin/intellij-rust,ujpv/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,alygin/intellij-rust,alygin/intellij-rust,d9n/intellij-rust,d9n/intellij-rust,Undin/intellij-rust,anton-okolelov/intellij-rust,Undin/intellij-rust,ujpv/intellij-rust,intellij-rust/intellij-rust,a...
src/main/kotlin/org/rust/lang/RustLanguage.kt
src/main/kotlin/org/rust/lang/RustLanguage.kt
package org.rust.lang import com.intellij.lang.Language object RustLanguage : Language("RUST", "text/rust", "text/x-rust", "application/x-rust") { override fun isCaseSensitive() = true override fun getDisplayName() = "Rust" }
package org.rust.lang import com.intellij.lang.Language object RustLanguage : Language("RUST") { override fun isCaseSensitive() = true }
mit
Kotlin
5a33f400eb77bbdf70ef7d43a7dabaf6902edf4f
add license header
ohmae/mmupnp
mmupnp/src/main/java/net/mm2d/upnp/internal/util/LogUtils.kt
mmupnp/src/main/java/net/mm2d/upnp/internal/util/LogUtils.kt
/* * Copyright (c) 2019 大前良介 (OHMAE Ryosuke) * * This software is released under the MIT License. * http://opensource.org/licenses/MIT */ package net.mm2d.upnp.internal.util import net.mm2d.log.toSimpleStackTraceString internal fun Throwable.toSimpleTrace() = toSimpleStackTraceString(setOf("net.mm2d.upnp."))
package net.mm2d.upnp.internal.util import net.mm2d.log.toSimpleStackTraceString internal fun Throwable.toSimpleTrace() = toSimpleStackTraceString(setOf("net.mm2d.upnp."))
mit
Kotlin
63a0a1fa5d382d7e4c8a40738980b7e9daf193d8
Use range for looping
EvidentSolutions/fab
src/main/kotlin/fi/evident/fab/Main.kt
src/main/kotlin/fi/evident/fab/Main.kt
package fi.evident.fab import fi.evident.fab.proq2.GlobalPresetParameters import fi.evident.fab.proq2.PresetWriter import fi.evident.fab.rew.FilterConfigurations import fi.evident.fab.rew.FilterPlacement.* import fi.evident.fab.rew.FilterSlope.dB_oct24 import fi.evident.fab.rew.Parser.parseFilterFile import java.io.Fi...
package fi.evident.fab import fi.evident.fab.proq2.GlobalPresetParameters import fi.evident.fab.proq2.PresetWriter import fi.evident.fab.rew.FilterConfigurations import fi.evident.fab.rew.FilterPlacement.* import fi.evident.fab.rew.FilterSlope.dB_oct24 import fi.evident.fab.rew.Parser.parseFilterFile import java.io.Fi...
mit
Kotlin
2e98cb333e6192f53f069f34084320fbaaf57b32
Update Coroutines (1.3.1).
coil-kt/coil,coil-kt/coil
buildSrc/src/main/kotlin/Library.kt
buildSrc/src/main/kotlin/Library.kt
@file:Suppress("unused") package coil object Library { // CORE private const val COROUTINES_VERSION = "1.3.1" const val KOTLINX_COROUTINES_ANDROID = "org.jetbrains.kotlinx:kotlinx-coroutines-android:$COROUTINES_VERSION" const val ANDROIDX_ANNOTATION = "androidx.annotation:annotation:1.1.0" cons...
@file:Suppress("unused") package coil object Library { // CORE private const val COROUTINES_VERSION = "1.3.0" const val KOTLINX_COROUTINES_ANDROID = "org.jetbrains.kotlinx:kotlinx-coroutines-android:$COROUTINES_VERSION" const val ANDROIDX_ANNOTATION = "androidx.annotation:annotation:1.1.0" cons...
apache-2.0
Kotlin
9f822143aca6ecf6daba8dd757f85bd56a150dbe
Remove TODO NOW in JekyllPlugin
Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka
plugins/jekyll/src/main/kotlin/JekyllPlugin.kt
plugins/jekyll/src/main/kotlin/JekyllPlugin.kt
package org.jetbrains.dokka.jekyll import org.jetbrains.dokka.CoreExtensions import org.jetbrains.dokka.base.DokkaBase import org.jetbrains.dokka.base.renderers.PackageListCreator import org.jetbrains.dokka.base.renderers.RootCreator import org.jetbrains.dokka.gfm.CommonmarkRenderer import org.jetbrains.dokka.gfm.GfmP...
package org.jetbrains.dokka.jekyll import org.jetbrains.dokka.CoreExtensions import org.jetbrains.dokka.base.DokkaBase import org.jetbrains.dokka.base.renderers.PackageListCreator import org.jetbrains.dokka.base.renderers.RootCreator import org.jetbrains.dokka.gfm.CommonmarkRenderer import org.jetbrains.dokka.gfm.GfmP...
apache-2.0
Kotlin
e7c3414793661b2e35a36b1f19a60692e50c0c78
Update branch filter of PublishNightlySnapshot
gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle
.teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt
.teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt
/* * Copyright 2019 the original author or authors. * * 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 applica...
/* * Copyright 2019 the original author or authors. * * 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 applica...
apache-2.0
Kotlin
1cc50d96f3d5612df8d4ce018720ea469e7af812
test 4 passed
Yusuzhan/kotlin-koans,Yusuzhan/kotlin-koans
src/i_introduction/_4_Lambdas/Lambdas.kt
src/i_introduction/_4_Lambdas/Lambdas.kt
package i_introduction._4_Lambdas import util.TODO import util.doc4 fun example() { val sum = { x: Int, y: Int -> x + y } val square: (Int) -> Int = { x -> x * x } sum(1, square(2)) == 5 } fun todoTask4(collection: Collection<Int>): Nothing = TODO( """ Task 4. Rewrite 'JavaCode4.tas...
package i_introduction._4_Lambdas import util.TODO import util.doc4 fun example() { val sum = { x: Int, y: Int -> x + y } val square: (Int) -> Int = { x -> x * x } sum(1, square(2)) == 5 } fun todoTask4(collection: Collection<Int>): Nothing = TODO( """ Task 4. Rewrite 'JavaCode4.tas...
mit
Kotlin
5d5129e556c8b168b0a0b838eec694664af37902
Test using enzyme.shallow
epabst/kotlin-showcase,epabst/kotlin-showcase,epabst/kotlin-showcase,epabst/kotlin-showcase
src/jsTest/kotlin/todo/ToDoScreenTest.kt
src/jsTest/kotlin/todo/ToDoScreenTest.kt
package todo import enzyme.mount import enzyme.shallow import extensions.pouchdb.createAndGetId import kotlinext.js.jsObject import kotlinx.coroutines.delay import util.PlatformProvider import util.mustBe import util.mustNotBe import util.runTest import kotlin.test.Test /** A test for [ToDoScreen]. */ @Suppress("unus...
package todo import enzyme.mount import extensions.pouchdb.createAndGetId import kotlinext.js.jsObject import kotlinx.coroutines.delay import util.PlatformProvider import util.mustBe import util.mustNotBe import util.runTest import kotlin.test.Test /** A test for [ToDoScreen]. */ @Suppress("unused") class ToDoScreenT...
apache-2.0
Kotlin
f24f241b49b10a08ad51601dd9501be697075195
refactor #433 Rename to httpClient.
toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/main/java/jp/toastkid/yobidashi/search/suggestion/SuggestionFetcher.kt
app/src/main/java/jp/toastkid/yobidashi/search/suggestion/SuggestionFetcher.kt
package jp.toastkid.yobidashi.search.suggestion import android.net.Uri import jp.toastkid.yobidashi.libs.Strings import jp.toastkid.yobidashi.libs.network.HttpClientFactory import okhttp3.Call import okhttp3.Callback import okhttp3.Request import okhttp3.Response import timber.log.Timber import java.io.IOException imp...
package jp.toastkid.yobidashi.search.suggestion import android.net.Uri import jp.toastkid.yobidashi.libs.Strings import jp.toastkid.yobidashi.libs.network.HttpClientFactory import okhttp3.Call import okhttp3.Callback import okhttp3.Request import okhttp3.Response import timber.log.Timber import java.io.IOException imp...
epl-1.0
Kotlin
14d23ba112ead604f7851ba055f1390fd468f47c
Create JdbcTemplateRepository.kt
elifarley/kotlin-examples,elifarley/kotlin-misc-lib,elifarley/kotlin-misc-lib,elifarley/kotlin-examples
src/com/github/elifarley/kotlin/persistence/repository/JdbcTemplateRepository.kt
src/com/github/elifarley/kotlin/persistence/repository/JdbcTemplateRepository.kt
package com.orgecc.persistence.repository import org.springframework.beans.factory.annotation.Autowired import org.springframework.jdbc.core.JdbcTemplate import org.springframework.jdbc.core.ResultSetExtractor import org.springframework.stereotype.Repository import javax.sql.DataSource @Repository open class JdbcTemp...
mit
Kotlin
70bef20035da31587526b4625c43e3c1d2590ad4
Fix ArrayIndexOutOfBoundsException (#428)
Fitbit/MvRx,Fitbit/MvRx,Fitbit/MvRx
mvrx/src/main/kotlin/com/airbnb/mvrx/Async.kt
mvrx/src/main/kotlin/com/airbnb/mvrx/Async.kt
package com.airbnb.mvrx import java.util.Arrays /** * The T generic is unused for some classes but since it is sealed and useful for Success and Fail, * it should be on all of them. * * Complete: Success, Fail * ShouldLoad: Uninitialized, Fail */ sealed class Async<out T>(val complete: Boolean, val shouldLoad: ...
package com.airbnb.mvrx import java.util.Arrays /** * The T generic is unused for some classes but since it is sealed and useful for Success and Fail, * it should be on all of them. * * Complete: Success, Fail * ShouldLoad: Uninitialized, Fail */ sealed class Async<out T>(val complete: Boolean, val shouldLoad: ...
apache-2.0
Kotlin
8c2f383f14e354a45d0f9f16f5b0fa35b7244a51
Document interceptor throwing modes (#6235)
yschimke/okhttp,ansman/okhttp,cmzy/okhttp,tiarebalbi/okhttp,ansman/okhttp,ze-pequeno/okhttp,cmzy/okhttp,ze-pequeno/okhttp,ansman/okhttp,square/okhttp,yschimke/okhttp,square/okhttp,tiarebalbi/okhttp,square/okhttp,tiarebalbi/okhttp,yschimke/okhttp,ze-pequeno/okhttp
okhttp/src/main/kotlin/okhttp3/Interceptor.kt
okhttp/src/main/kotlin/okhttp3/Interceptor.kt
/* * Copyright (C) 2014 Square, Inc. * * 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 agre...
/* * Copyright (C) 2014 Square, Inc. * * 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 agre...
apache-2.0
Kotlin
947f117f0dd656daa4e23c4543cb437df468de7d
make parameters as form's default parameter.
jsocle/jsocle-form
src/main/kotlin/com/github/jsocle/form/Form.kt
src/main/kotlin/com/github/jsocle/form/Form.kt
package com.github.jsocle.form public abstract class Form(parameters: Map<String, Array<String>>? = null) { public val parameters: Map<String, Array<String>> init { this.parameters = parameters ?: request.parameters() } }
package com.github.jsocle.form import com.github.jsocle.form.request public abstract class Form { public val parameters: Map<String, Array<String>> init { parameters = request.parameters() } }
mit
Kotlin