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 |
|---|---|---|---|---|---|---|---|---|
6ad7e6679a3572551563edda5351cf091d5801e8 | Define activity contrib injector | djkovrik/YapTalker,djkovrik/YapTalker | app/src/main/java/com/sedsoftware/yaptalker/di/modules/contribution/ActivityContributionModule.kt | app/src/main/java/com/sedsoftware/yaptalker/di/modules/contribution/ActivityContributionModule.kt | package com.sedsoftware.yaptalker.di.modules.contribution
import com.sedsoftware.yaptalker.di.scopes.ActivityScope
import com.sedsoftware.yaptalker.presentation.features.gallery.TopicGalleryActivity
import com.sedsoftware.yaptalker.presentation.features.gallery.di.TopicGalleryActivityModule
import com.sedsoftware.yapt... | package com.sedsoftware.yaptalker.di.modules.contribution
import com.sedsoftware.yaptalker.di.scopes.ActivityScope
import com.sedsoftware.yaptalker.presentation.features.gifdisplay.GifDisplayActivity
import com.sedsoftware.yaptalker.presentation.features.gifdisplay.di.GifDisplayActivityModule
import com.sedsoftware.ya... | apache-2.0 | Kotlin |
ed89db1d9fbd7697ee2b9a819f225763f726c857 | change ファイル名を指定。 | t-kgd/buckets,t-kgd/buckets | libgdx/util/util/src/main/kotlin/jp/gr/java_conf/kgd/library/buckets/libgdx/util/skin/SkinExtension.kt | libgdx/util/util/src/main/kotlin/jp/gr/java_conf/kgd/library/buckets/libgdx/util/skin/SkinExtension.kt | /*
* The MIT License
*
* Copyright (c) 2015 Misakura.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, mo... | /*
* The MIT License
*
* Copyright (c) 2015 Misakura.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, mo... | mit | Kotlin |
5c07707c9b3a3a550932a5d6468efc9135bbedef | fix back button on transaction detail | nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official | src/frontend/android/unity_wallet/app/src/main/java/com/gulden/unity_wallet/TransactionInfoActivity.kt | src/frontend/android/unity_wallet/app/src/main/java/com/gulden/unity_wallet/TransactionInfoActivity.kt | // Copyright (c) 2018 The Gulden developers
// Authored by: Malcolm MacLeod (mmacleod@webmail.co.za)
// Distributed under the GULDEN software license, see the accompanying
// file COPYING
package com.gulden.unity_wallet
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import kotlinx.android.s... | // Copyright (c) 2018 The Gulden developers
// Authored by: Malcolm MacLeod (mmacleod@webmail.co.za)
// Distributed under the GULDEN software license, see the accompanying
// file COPYING
package com.gulden.unity_wallet
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import kotlinx.android.s... | mit | Kotlin |
65f07475cb0ed2ec889a9d2603061dd7d193ad49 | Add a new data type - ExerciseRouteRecord Context: go/hc-exercise-routes-tldr | 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... | health/connect/connect-client/src/main/java/androidx/health/connect/client/records/ExerciseRouteRecord.kt | health/connect/connect-client/src/main/java/androidx/health/connect/client/records/ExerciseRouteRecord.kt | /*
* Copyright (C) 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | apache-2.0 | Kotlin | |
fa6e54fdbfe2075116dc83ecb15457b955b05056 | Bump gradle from 7.0.4 to 7.1.0 in /src.kotlin/alphaTab (#727) | CoderLine/alphaTab,CoderLine/alphaTab,CoderLine/alphaTab,CoderLine/alphaTab,CoderLine/alphaTab,CoderLine/alphaTab | src.kotlin/alphaTab/settings.gradle.kts | src.kotlin/alphaTab/settings.gradle.kts | pluginManagement {
repositories {
google()
jcenter()
gradlePluginPortal()
mavenCentral()
}
resolutionStrategy {
eachPlugin {
if (requested.id.namespace == "com.android" || requested.id.name == "kotlin-android-extensions") {
useModule("com.a... | pluginManagement {
repositories {
google()
jcenter()
gradlePluginPortal()
mavenCentral()
}
resolutionStrategy {
eachPlugin {
if (requested.id.namespace == "com.android" || requested.id.name == "kotlin-android-extensions") {
useModule("com.a... | mpl-2.0 | Kotlin |
f399a7bdb53e4cab954cedb82c7d7d8fe9a989c7 | Add unified match handler | da1z/intellij-community,ThiagoGarciaAlves/intellij-community,ThiagoGarciaAlves/intellij-community,allotria/intellij-community,ThiagoGarciaAlves/intellij-community,ThiagoGarciaAlves/intellij-community,da1z/intellij-community,mglukhikh/intellij-community,allotria/intellij-community,ThiagoGarciaAlves/intellij-community,al... | plugins/stream-debugger/src/main/java/com/intellij/debugger/streams/trace/impl/handler/unified/MatchHandler.kt | plugins/stream-debugger/src/main/java/com/intellij/debugger/streams/trace/impl/handler/unified/MatchHandler.kt | /*
* Copyright 2000-2017 JetBrains s.r.o.
*
* 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 | |
74bdd323f88d230565dc20a914f1bf71b6340e0c | fix for possible project-leak in `InjectionTestFixture` usage | 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... | plugins/IntelliLang/IntelliLang-tests/test/org/intellij/plugins/intelliLang/AbstractLanguageInjectionTestCase.kt | plugins/IntelliLang/IntelliLang-tests/test/org/intellij/plugins/intelliLang/AbstractLanguageInjectionTestCase.kt | // Copyright 2000-2018 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 org.intellij.plugins.intelliLang
import com.intellij.openapi.editor.Editor
import com.intellij.openapi.util.TextRange
import com.intellij.psi.PsiFile
import com.intellij.... | // Copyright 2000-2018 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 org.intellij.plugins.intelliLang
import com.intellij.openapi.editor.Editor
import com.intellij.openapi.util.TextRange
import com.intellij.psi.PsiFile
import com.intellij.... | apache-2.0 | Kotlin |
23c79b953ac18bfe6e02bb2fef9f6fac6cc89b7b | use correct exception | yrsegal/CommandControl,yrsegal/CommandControl | src/main/java/wiresegal/cmdctrl/common/commands/control/CommandMath.kt | src/main/java/wiresegal/cmdctrl/common/commands/control/CommandMath.kt | package wiresegal.cmdctrl.common.commands.control
import com.udojava.evalex.Expression.ExpressionException
import net.minecraft.command.*
import net.minecraft.server.MinecraftServer
/**
* @author WireSegal
* Created at 5:20 PM on 12/14/16.
*/
object CommandMath : CommandBase() {
@Throws(CommandException::clas... | package wiresegal.cmdctrl.common.commands.control
import com.udojava.evalex.Expression.ExpressionException
import net.minecraft.command.CommandBase
import net.minecraft.command.CommandException
import net.minecraft.command.CommandResultStats
import net.minecraft.command.ICommandSender
import net.minecraft.server.Minec... | mit | Kotlin |
340508056cb04e83882d49ebd5893c5e7055bd59 | update to use new API | nextras/orm-intellij | src/org/nextras/orm/intellij/annotator/ModifierHighlighterAnnotator.kt | src/org/nextras/orm/intellij/annotator/ModifierHighlighterAnnotator.kt | package org.nextras.orm.intellij.annotator
import com.intellij.lang.annotation.AnnotationHolder
import com.intellij.lang.annotation.Annotator
import com.intellij.lang.annotation.HighlightSeverity
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiWhiteSpace
import com.jetbrains.php.lang.documentation.phpdoc... | package org.nextras.orm.intellij.annotator
import com.intellij.lang.annotation.AnnotationHolder
import com.intellij.lang.annotation.Annotator
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiWhiteSpace
import com.jetbrains.php.lang.documentation.phpdoc.lexer.PhpDocTokenTypes
import com.jetbrains.php.lang.... | mit | Kotlin |
5b03d5e13fc8b0143b3d82dc76c8882521bd00a7 | Reformat code. | elpassion/android-commons,elpassion/android-commons,elpassion/android-commons | shared-preferences/src/main/java/com/elpassion/android/commons/sharedpreferences/SharedPreferenceRepository.kt | shared-preferences/src/main/java/com/elpassion/android/commons/sharedpreferences/SharedPreferenceRepository.kt | package com.elpassion.android.commons.sharedpreferences
import android.content.SharedPreferences
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
interface SharedPreferenceRepository<T> {
fun write(key: String, value: T?)
fun read(key: String): T?
}
inline fun <reified T> createSharedPr... | package com.elpassion.android.commons.sharedpreferences
import android.content.SharedPreferences
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
interface SharedPreferenceRepository<T> {
fun write(key: String, value: T?)
fun read(key: String): T?
}
inline fun <reified T> createSharedPr... | apache-2.0 | Kotlin |
e4fa6088a8a1e80e3a1235e1dd492c27dcdd4276 | Move the find usage test into a VarName nested group. | rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin | src/lang-xquery/test/uk/co/reecedunn/intellij/plugin/intellij/tests/lang/findUsages/XQueryFindUsagesProviderTest.kt | src/lang-xquery/test/uk/co/reecedunn/intellij/plugin/intellij/tests/lang/findUsages/XQueryFindUsagesProviderTest.kt | /*
* Copyright (C) 2016-2019 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 or agr... | /*
* Copyright (C) 2016-2018 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 or agr... | apache-2.0 | Kotlin |
74909983b7d91ba2534c4b0964a173986dc78060 | Implement XRayTestRunConfigurationProducer#isConfigurationFromContext. | rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin | src/plugin-marklogic/main/uk/co/reecedunn/intellij/plugin/marklogic/xray/test/XRayTestRunConfigurationProducer.kt | src/plugin-marklogic/main/uk/co/reecedunn/intellij/plugin/marklogic/xray/test/XRayTestRunConfigurationProducer.kt | /*
* Copyright (C) 2021 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 or agreed t... | /*
* Copyright (C) 2021 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 or agreed t... | apache-2.0 | Kotlin |
3886d352e2e1a461174e282e684e4186b7944e78 | Add documentation to the Result class | jguerinet/MyMartlet,jguerinet/MyMartlet,jguerinet/MyMartlet,jguerinet/MyMartlet-Android,jguerinet/MyMartlet | app/src/main/java/util/retrofit/Result.kt | app/src/main/java/util/retrofit/Result.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 |
8184a29031d34edf42a00e5b95d5d196cc3af2ff | Make RequestPermissionOnPhoneActivity to FragmentActivity | android/wear-os-samples,android/wear-os-samples | RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/RequestPermissionOnPhoneActivity.kt | RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/RequestPermissionOnPhoneActivity.kt | /*
* Copyright (C) 2015 Google Inc. 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
*
* Unless required by ap... | /*
* Copyright (C) 2015 Google Inc. 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
*
* Unless required by ap... | apache-2.0 | Kotlin |
4f102d03f2e16fb23a9561881fe4eeb8a768afa5 | Allow custom context for the roomDb(…) fun | LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties | arch-room/src/main/java/splitties/arch/room/Room.kt | arch-room/src/main/java/splitties/arch/room/Room.kt | /*
* Copyright (c) 2018. Louis Cognault Ayeva Derman
*
* 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 ... | /*
* Copyright (c) 2018. Louis Cognault Ayeva Derman
*
* 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 ... | apache-2.0 | Kotlin |
c0157ea3dc6b0e2eca6b5df4c2d9d913a804869c | Fix RallyScreenState enum | 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... | ui/ui-material/integration-tests/material-studies/src/main/java/androidx/ui/material/studies/rally/RallyScreenState.kt | ui/ui-material/integration-tests/material-studies/src/main/java/androidx/ui/material/studies/rally/RallyScreenState.kt | /*
* Copyright 2020 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 2020 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 |
1766add8c1b654ac3d32e67ce0ef6704adc31089 | Use silent annotations | intellij-purescript/intellij-purescript,intellij-purescript/intellij-purescript | src/main/java/org/purescript/highlighting/PSSyntaxHighlightAnnotator.kt | src/main/java/org/purescript/highlighting/PSSyntaxHighlightAnnotator.kt | package org.purescript.highlighting
import com.intellij.lang.annotation.AnnotationHolder
import com.intellij.lang.annotation.Annotator
import com.intellij.lang.annotation.HighlightSeverity
import com.intellij.psi.PsiElement
import org.purescript.parser.PSElements
class PSSyntaxHighlightAnnotator : Annotator {
ove... | package org.purescript.highlighting
import com.intellij.lang.annotation.AnnotationHolder
import com.intellij.lang.annotation.Annotator
import com.intellij.lang.annotation.HighlightSeverity
import com.intellij.psi.PsiElement
import org.purescript.parser.PSElements
class PSSyntaxHighlightAnnotator : Annotator {
ove... | bsd-3-clause | Kotlin |
1a624f34189a6f82b0dfa6d210fc0e2ae64ccb4d | Add help message for charts week plugin | arturbosch/TiNBo,arturbosch/TiNBo,arturbosch/TiNBo | tinbo-charts/src/main/kotlin/io/gitlab/arturbosch/tinbo/WeekPieChart.kt | tinbo-charts/src/main/kotlin/io/gitlab/arturbosch/tinbo/WeekPieChart.kt | package io.gitlab.arturbosch.tinbo
import io.gitlab.arturbosch.tinbo.plugins.TiNBoPlugin
import org.jfree.chart.ChartFactory
import org.jfree.chart.ChartPanel
import org.jfree.chart.title.TextTitle
import org.jfree.data.general.DefaultPieDataset
import org.springframework.shell.core.annotation.CliCommand
import java.a... | package io.gitlab.arturbosch.tinbo
import io.gitlab.arturbosch.tinbo.plugins.TiNBoPlugin
import org.jfree.chart.ChartFactory
import org.jfree.chart.ChartPanel
import org.jfree.chart.title.TextTitle
import org.jfree.data.general.DefaultPieDataset
import org.springframework.shell.core.annotation.CliCommand
import java.a... | apache-2.0 | Kotlin |
2170941cf6e1dd5d8cd5102d630bc1be38cc5b5c | Update Kotlin example for Tomcat connector customization | vpavic/spring-boot,vpavic/spring-boot,vpavic/spring-boot,htynkn/spring-boot,spring-projects/spring-boot,spring-projects/spring-boot,htynkn/spring-boot,htynkn/spring-boot,vpavic/spring-boot,vpavic/spring-boot,spring-projects/spring-boot,spring-projects/spring-boot,spring-projects/spring-boot,htynkn/spring-boot,htynkn/sp... | spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/howto/webserver/enablemultipleconnectorsintomcat/MyTomcatConfiguration.kt | spring-boot-project/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/howto/webserver/enablemultipleconnectorsintomcat/MyTomcatConfiguration.kt | /*
* Copyright 2012-2022 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | /*
* Copyright 2012-2022 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | apache-2.0 | Kotlin |
71c298c5048b075805eb5c0944e9226646378343 | refactor #442 Use let. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/browser/reader/ReaderFragment.kt | app/src/main/java/jp/toastkid/yobidashi/browser/reader/ReaderFragment.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 |
289dbc0f371e8d4dda75b8649bc017ba21f06886 | Make shader depend on `colors` state | chrisbanes/tivi,chrisbanes/tivi | common-ui-compose/src/main/java/app/tivi/common/compose/gradientscrim.kt | common-ui-compose/src/main/java/app/tivi/common/compose/gradientscrim.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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | /*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | apache-2.0 | Kotlin |
cf5b99dbecd6f85cb5c493c4ae0673198a132aa9 | Apply CR: Remove implicit cast to not nullable type | elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin | src/main/kotlin/com/elpassion/intelijidea/MFRemoveBeforeTaskAtStartup.kt | src/main/kotlin/com/elpassion/intelijidea/MFRemoveBeforeTaskAtStartup.kt | package com.elpassion.intelijidea
import com.elpassion.intelijidea.task.MFBeforeRunTaskProvider
import com.elpassion.intelijidea.task.MFBeforeTaskDefaultSettingsProvider
import com.intellij.execution.BeforeRunTaskProvider
import com.intellij.execution.RunManagerEx
import com.intellij.openapi.project.Project
import com... | package com.elpassion.intelijidea
import com.elpassion.intelijidea.task.MFBeforeRunTaskProvider
import com.elpassion.intelijidea.task.MFBeforeTaskDefaultSettingsProvider
import com.intellij.execution.BeforeRunTaskProvider
import com.intellij.execution.RunManagerEx
import com.intellij.openapi.project.Project
import com... | apache-2.0 | Kotlin |
bf7dc2bcaca4e34c32aad2905db1418a9577a6b7 | Disable inline macro use by default | alygin/intellij-rust,intellij-rust/intellij-rust,d9n/intellij-rust,anton-okolelov/intellij-rust,ujpv/intellij-rust,ujpv/intellij-rust,d9n/intellij-rust,alygin/intellij-rust,alygin/intellij-rust,himikof/intellij-rust,alygin/intellij-rust,Undin/intellij-rust,d9n/intellij-rust,himikof/intellij-rust,Undin/intellij-rust,Und... | src/main/kotlin/org/rust/ide/formatter/settings/RustCodeStyleSettings.kt | src/main/kotlin/org/rust/ide/formatter/settings/RustCodeStyleSettings.kt | package org.rust.ide.formatter.settings
import com.intellij.psi.codeStyle.CodeStyleSettings
import com.intellij.psi.codeStyle.CustomCodeStyleSettings
class RustCodeStyleSettings(container: CodeStyleSettings) :
CustomCodeStyleSettings(RustCodeStyleSettings::class.java.simpleName, container) {
@JvmField var AL... | package org.rust.ide.formatter.settings
import com.intellij.psi.codeStyle.CodeStyleSettings
import com.intellij.psi.codeStyle.CustomCodeStyleSettings
class RustCodeStyleSettings(container: CodeStyleSettings) :
CustomCodeStyleSettings(RustCodeStyleSettings::class.java.simpleName, container) {
@JvmField var AL... | mit | Kotlin |
eb9e5d2905299312e9e58de041153cb899c9a443 | Update build | kantega/niagara | settings.gradle.kts | settings.gradle.kts | rootProject.name = "niagara"
include("niagara-data","niagara-json","niagara-effect","niagara-http","niagara-http-undertow")
| rootProject.name = "niagara"
include("niagara-data","niagara-effect","niagara-json","niagara-http","niagara-http-undertow")
| apache-2.0 | Kotlin |
9bd536717a7cedcb3bab0b990d61747125138a5f | Add tests on sequences | KotlinNLP/SimpleDNN | test/kotlin/losses/MSECalculatorSpec.kt | test/kotlin/losses/MSECalculatorSpec.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 |
7d7e37e2302a35ca3df77d6d55c24a3d03ed9fb0 | Update to Kotlin 0.13.1109 | ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor | ktor-components/src/org/jetbrains/ktor/components/ComponentApplication.kt | ktor-components/src/org/jetbrains/ktor/components/ComponentApplication.kt | package org.jetbrains.ktor.components
import org.jetbrains.ktor.application.*
import org.jetbrains.ktor.components.*
import org.jetbrains.ktor.routing.*
import kotlin.util.*
public open class ComponentApplication(config: ApplicationConfig) : Application(config) {
val container = StorageComponentContainer("Applica... | package org.jetbrains.ktor.components
import org.jetbrains.ktor.application.*
import org.jetbrains.ktor.components.*
import org.jetbrains.ktor.routing.*
import kotlin.util.*
public open class ComponentApplication(config: ApplicationConfig) : Application(config) {
val container = StorageComponentContainer("Applica... | apache-2.0 | Kotlin |
6f31fccce700be93b1a9e764e38af9c55851ece0 | Remove duplicate payment | BreakOutEvent/breakout-backend,BreakOutEvent/breakout-backend,BreakOutEvent/breakout-backend | src/main/java/backend/model/payment/TeamEntryFeeServiceImpl.kt | src/main/java/backend/model/payment/TeamEntryFeeServiceImpl.kt | package backend.model.payment
import backend.model.user.Admin
import org.apache.log4j.Logger
import org.javamoney.moneta.Money
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Service
import javax.transaction.Transactional
@Service
class TeamEntryFeeServiceImpl : Tea... | package backend.model.payment
import backend.model.user.Admin
import org.apache.log4j.Logger
import org.javamoney.moneta.Money
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Service
import javax.transaction.Transactional
@Service
class TeamEntryFeeServiceImpl : Tea... | agpl-3.0 | Kotlin |
1675dc80ae28acb1cd7613cc7c37887bbc8f2408 | make ViewLifecycle functions mutable | hkokocin/Atheris | library/src/main/java/com/github/hkokocin/atheris/android/ViewLifecycle.kt | library/src/main/java/com/github/hkokocin/atheris/android/ViewLifecycle.kt | package com.github.hkokocin.atheris.android
class ViewLifecycle {
var onAttachedToWindow: () -> Unit = {}
var onDetachedFromWindow: () -> Unit = {}
var onViewCreated: () -> Unit = {}
} | package com.github.hkokocin.atheris.android
class ViewLifecycle {
val onAttachedToWindow: () -> Unit = {}
val onDetachedFromWindow: () -> Unit = {}
val onViewCreated: () -> Unit = {}
} | mit | Kotlin |
f5c7b345eba84949c264995df4e69574429a447f | Fix some react-bootstrap external definitions with correct properties | epabst/kotlin-showcase,epabst/kotlin-showcase,epabst/kotlin-showcase,epabst/kotlin-showcase | src/jsMain/kotlin/bootstrap/InputGroup.kt | src/jsMain/kotlin/bootstrap/InputGroup.kt | @file:Suppress(
"INTERFACE_WITH_SUPERCLASS",
"OVERRIDING_FINAL_MEMBER",
"RETURN_TYPE_MISMATCH_ON_OVERRIDE",
"CONFLICTING_OVERLOADS",
"EXTERNAL_DELEGATION",
"unused"
)
@file:JsModule("react-bootstrap")
package bootstrap
import org.w3c.dom.HTMLDivElement
import react.RProps
external interface I... | @file:Suppress("INTERFACE_WITH_SUPERCLASS", "OVERRIDING_FINAL_MEMBER", "RETURN_TYPE_MISMATCH_ON_OVERRIDE", "CONFLICTING_OVERLOADS", "EXTERNAL_DELEGATION", "unused")
@file:JsModule("react-bootstrap")
package bootstrap
import react.RProps
abstract external class InputGroupAppend<As : React.ElementType> : BsPrefixCompon... | apache-2.0 | Kotlin |
7e81919e27bf5a4e8c3a31cafbdbfadbe1923b93 | Update the build-scan sample to use the `build-scan` plugin accessor | blindpirate/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/g... | samples/build-scan/build.gradle.kts | samples/build-scan/build.gradle.kts | plugins {
`build-scan`
}
buildScan {
setLicenseAgreementUrl("https://gradle.com/terms-of-service")
setLicenseAgree("yes")
}
| plugins {
id("com.gradle.build-scan") version "1.8"
}
buildScan {
setLicenseAgreementUrl("https://gradle.com/terms-of-service")
setLicenseAgree("yes")
}
| apache-2.0 | Kotlin |
51ced731520c929ed02949cf4835caa03f55dace | Make Random and Random.PRINTABLE_ASCII_* public | mchernyavsky/kotlincheck | src/main/kotlin/io/kotlincheck/Random.kt | src/main/kotlin/io/kotlincheck/Random.kt | package io.kotlincheck
import java.math.BigDecimal
import java.math.BigInteger
import java.util.Random
import java.util.stream.DoubleStream
import java.util.stream.IntStream
import java.util.stream.LongStream
object Random {
val PRINTABLE_ASCII_ORIGIN = 32
val PRINTABLE_ASCII_BOUND = 127
private val SOUR... | package io.kotlincheck
import java.math.BigDecimal
import java.math.BigInteger
import java.util.Random
import java.util.stream.DoubleStream
import java.util.stream.IntStream
import java.util.stream.LongStream
internal object Random {
private val SOURCE: Random = Random()
private val PRINTABLE_ASCII_ORIGIN = ... | mit | Kotlin |
6f0e891abd086b68cfc099ee393e33b1162479ef | set persistent cache for images | blan4/MangaReader | app/src/main/java/org/seniorsigan/mangareader/usecases/TransportWithCache.kt | app/src/main/java/org/seniorsigan/mangareader/usecases/TransportWithCache.kt | package org.seniorsigan.mangareader.usecases
import android.content.Context
import android.net.Uri
import android.util.Log
import okhttp3.OkHttpClient
import okhttp3.Request
import okio.BufferedSource
import okio.Okio
import org.seniorsigan.mangareader.App
import java.io.File
class TransportWithCache(val context: Con... | package org.seniorsigan.mangareader.usecases
import android.content.Context
import android.net.Uri
import android.util.Log
import okhttp3.OkHttpClient
import okhttp3.Request
import okio.BufferedSource
import okio.Okio
import org.seniorsigan.mangareader.App
import java.io.File
class TransportWithCache(val context: Con... | mit | Kotlin |
6aa50b26c03321103d774f4dc796fd825de4e140 | fix grpc tls error | GoogleCloudPlatform/air-draw-demo,GoogleCloudPlatform/air-draw-demo,GoogleCloudPlatform/air-draw-demo | server/build.gradle.kts | server/build.gradle.kts | import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import org.jetbrains.kotlin.allopen.gradle.AllOpenExtension
plugins {
application
kotlin("jvm")
kotlin("kapt")
id("org.jetbrains.kotlin.plugin.allopen") version "1.3.30"
id("com.github.johnrengelman.shadow") version "4.0.4"
}
depend... | import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import org.jetbrains.kotlin.allopen.gradle.AllOpenExtension
plugins {
application
kotlin("jvm")
kotlin("kapt")
id("org.jetbrains.kotlin.plugin.allopen") version "1.3.30"
id("com.github.johnrengelman.shadow") version "4.0.4"
}
depend... | apache-2.0 | Kotlin |
38f0ea14d19b9cb7d540bca71f4303587946a2c7 | Create WIP releasing script | LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties | Releasing.kts | Releasing.kts | import java.io.File
import java.util.concurrent.TimeUnit
import java.awt.Desktop
import java.net.URI
val dir = File(".")
fun String.execute(workingDir: File = dir): String {
val parts = this.split("\\s".toRegex())
val proc = ProcessBuilder(*parts.toTypedArray())
.directory(workingDir)
.redirec... | apache-2.0 | Kotlin | |
290f1af62e99eba5ae31a3331773885623d50ecd | rename test | grover-ws-1/http4k,grover-ws-1/http4k,http4k/http4k,http4k/http4k,http4k/http4k,grover-ws-1/http4k,http4k/http4k,grover-ws-1/http4k,http4k/http4k,grover-ws-1/http4k,http4k/http4k,http4k/http4k | http4k-format-jackson-xml/src/test/kotlin/org/http4k/format/JacksonXmlTest.kt | http4k-format-jackson-xml/src/test/kotlin/org/http4k/format/JacksonXmlTest.kt | package org.http4k.format
import com.natpryce.hamkrest.assertion.assertThat
import com.natpryce.hamkrest.equalTo
import com.natpryce.hamkrest.should.shouldMatch
import org.http4k.core.Body
import org.http4k.core.Method.GET
import org.http4k.core.Request
import org.http4k.core.Response
import org.http4k.core.Status
imp... | package org.http4k.format
import com.natpryce.hamkrest.assertion.assertThat
import com.natpryce.hamkrest.equalTo
import com.natpryce.hamkrest.should.shouldMatch
import org.http4k.core.Body
import org.http4k.core.Method.GET
import org.http4k.core.Request
import org.http4k.core.Response
import org.http4k.core.Status
imp... | apache-2.0 | Kotlin |
32acbdca80c817a82cc3e986deb1c27a2432a926 | Add RemoteKonfigIntDelegate. | chibatching/remote-konfig,chibatching/remote-konfig | library/src/main/java/com/chibatching/remotekonfig/RemoteKonfigIntDelegate.kt | library/src/main/java/com/chibatching/remotekonfig/RemoteKonfigIntDelegate.kt | package com.chibatching.remotekonfig
import com.google.firebase.remoteconfig.FirebaseRemoteConfig
import kotlin.properties.ReadOnlyProperty
import kotlin.reflect.KProperty
class RemoteKonfigIntDelegate internal constructor(private val key: String, default: Int)
: ReadOnlyProperty<KonfigModel, Int>, RemoteKonfigD... | apache-2.0 | Kotlin | |
6416a252e5e656c3bcdb9879cfa132abaae8f7d6 | Refactor TiNBo class to programmaticly create a tinbo config - #42 | arturbosch/TiNBo,arturbosch/TiNBo,arturbosch/TiNBo | src/main/java/com/gitlab/artismarti/tinbo/TiNBo.kt | src/main/java/com/gitlab/artismarti/tinbo/TiNBo.kt | package com.gitlab.artismarti.tinbo
import com.gitlab.artismarti.tinbo.config.HomeFolder
import com.gitlab.artismarti.tinbo.config.TinboConfig
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.shell.support.logging.HandlerUt... | package com.gitlab.artismarti.tinbo
import com.gitlab.artismarti.tinbo.config.HomeFolder
import com.gitlab.artismarti.tinbo.config.TinboConfig
import jline.console.ConsoleReader
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.SpringApplication
import org.springframework.bo... | apache-2.0 | Kotlin |
2d29fb4e72e945d639ad3cbe03fdf824a4ddbf27 | Use mapNotNull instead of filtering null elements explicitely | minecraft-dev/MinecraftDev,DemonWav/MinecraftDev,DemonWav/MinecraftDevIntelliJ,DemonWav/MinecraftDevIntelliJ,DemonWav/IntelliJBukkitSupport,minecraft-dev/MinecraftDev,DemonWav/MinecraftDevIntelliJ,DemonWav/MinecraftDev,DemonWav/MinecraftDev,minecraft-dev/MinecraftDev | src/main/kotlin/com/demonwav/mcdev/util/Sorting.kt | src/main/kotlin/com/demonwav/mcdev/util/Sorting.kt | /*
* Minecraft Dev for IntelliJ
*
* https://minecraftdev.org
*
* Copyright (c) 2016 minecraft-dev
*
* MIT License
*/
@file:JvmName("Sorting")
package com.demonwav.mcdev.util
import java.util.ArrayList
import java.util.Arrays
import java.util.Comparator
import java.util.stream.Collectors
import java.util.strea... | /*
* Minecraft Dev for IntelliJ
*
* https://minecraftdev.org
*
* Copyright (c) 2016 minecraft-dev
*
* MIT License
*/
@file:JvmName("Sorting")
package com.demonwav.mcdev.util
import java.util.ArrayList
import java.util.Arrays
import java.util.Comparator
import java.util.stream.Collectors
import java.util.strea... | mit | Kotlin |
1e369e3d14916c88f261ca96d22a7fe0334ba3c1 | allow tag attributes to be null | lindar-open/acolyte,lindar-open/acolyte | src/main/kotlin/lindar/acolyte/vo/Tag.kt | src/main/kotlin/lindar/acolyte/vo/Tag.kt | package lindar.acolyte.vo
import java.io.Serializable
data class Tag(
val text: String?,
val color: String?,
val size: String?,
val shape: String?,
val hasArrow: Boolean,
val tooltip: String?,
val actionTrigger: String?
) : Serializable {
compa... | package lindar.acolyte.vo
import java.io.Serializable
data class Tag(
val text: String,
val color: String,
val size: String,
val shape: String,
val hasArrow: Boolean,
val tooltip: String,
val actionTrigger: String
) : Serializable {
companion o... | apache-2.0 | Kotlin |
006559aac06a9b0cff521eb3941b93ab1e70b542 | Fix Moshi season names | jguerinet/MyMartlet,jguerinet/MyMartlet-Android,jguerinet/MyMartlet,jguerinet/MyMartlet,jguerinet/MyMartlet | app/src/main/java/model/Season.kt | app/src/main/java/model/Season.kt | /*
* 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... | /*
* 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 |
fb3f92c36d9c530560fddf2b425821a79bd0255b | Fix Gradle Kotlin DSL init script sample snippet | gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,grad... | subprojects/docs/src/snippets/plugins/pluginManagement/kotlin/init.gradle.kts | subprojects/docs/src/snippets/plugins/pluginManagement/kotlin/init.gradle.kts | settingsEvaluated {
pluginManagement {
plugins {
}
resolutionStrategy {
}
repositories {
}
}
}
| settingsEvaluated { settings ->
settings.pluginManagement {
plugins {
}
resolutionStrategy {
}
repositories {
}
}
}
| apache-2.0 | Kotlin |
7db78083cbbf132fa00b7c4b7b1754413747edc0 | Update dependencies | 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.10"
// Dependencies
val apiGuardian = "1.0.0"
val junit4 = "4.12"
val ota4j = "1.1.1"
val picocli = "3.8.1"
val univocity = "2.7.6"
// Test Dependencies
... | import org.gradle.api.JavaVersion
object Versions {
// Languages
val jvmTarget = JavaVersion.VERSION_1_8
val kotlin = "1.3.10"
// Dependencies
val apiGuardian = "1.0.0"
val junit4 = "4.12"
val ota4j = "1.1.1"
val picocli = "3.7.0"
val univocity = "2.7.6"
// Test Dependencies
... | epl-1.0 | Kotlin |
25a1fc14c470b6e5d31d2879582b043267296a8c | Make copies of public.xml rather than duplicating content roots | 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... | buildSrc/src/main/kotlin/androidx/build/resources/PublicResourcesStubHelper.kt | buildSrc/src/main/kotlin/androidx/build/resources/PublicResourcesStubHelper.kt | /*
* Copyright 2021 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 2021 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 |
3551fac5975150b9148e794c1694230abf10f81c | exit forEach | songzhw/Hello-kotlin,songzhw/Hello-kotlin | AdvancedJ/src/main/kotlin/pitfall/ExitForEach.kt | AdvancedJ/src/main/kotlin/pitfall/ExitForEach.kt | package pitfall
// 转为while循环, 所以return即让函数返回
fun return01(){
(1..4).forEach{
if(it > 2) return
println(it)
}
println("end of return01() method")
}
fun returnForEach02(){
(1..4).forEach{
if(it > 2) return@forEach
println(it)
}
println("end of method")
}
// 效果同re... | package pitfall
// 转为while循环, 所以return即让函数返回
fun return01(){
(1..4).forEach{
if(it > 2) return
println(it)
}
println("end of return01() method")
}
fun returnForEach02(){
(1..4).forEach{
if(it > 2) return@forEach
println(it)
}
println("end of method")
}
// 效果同re... | apache-2.0 | Kotlin |
59921036cb178ca63e69a5803d1dceef82fb1db3 | Upgrade Gradle plugins | sbrannen/junit-lambda,junit-team/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.31"
val groovy = "2.5.7"
// Dependencies
val apiGuardian = "1.0.0"
val junit4 = "4.12"
val ota4j = "1.2.0-SNAPSHOT"
val picocli = "3.9.5"
val univocity = ... | import org.gradle.api.JavaVersion
object Versions {
// Languages
val jvmTarget = JavaVersion.VERSION_1_8
val kotlin = "1.3.31"
val groovy = "2.5.7"
// Dependencies
val apiGuardian = "1.0.0"
val junit4 = "4.12"
val ota4j = "1.2.0-SNAPSHOT"
val picocli = "3.9.5"
val univocity = ... | epl-1.0 | Kotlin |
ea982908e880ecf54c4b00597860908570642475 | Remove workaround. | sys1yagi/longest-streak-android,sys1yagi/longest-streak-android | app/src/main/java/com/sys1yagi/longeststreakandroid/LongestStreakApplication.kt | app/src/main/java/com/sys1yagi/longeststreakandroid/LongestStreakApplication.kt | package com.sys1yagi.longeststreakandroid
import android.app.Application
import com.facebook.stetho.Stetho
import com.jakewharton.threetenabp.AndroidThreeTen
import com.sys1yagi.longeststreakandroid.db.OrmaDatabase
class LongestStreakApplication : Application() {
companion object {
lateinit var database:... | package com.sys1yagi.longeststreakandroid
import android.app.Application
import com.facebook.stetho.Stetho
import com.jakewharton.threetenabp.AndroidThreeTen
import com.sys1yagi.longeststreakandroid.db.OrmaDatabase
class LongestStreakApplication : Application() {
companion object {
lateinit var database:... | mit | Kotlin |
565b15800581b1b3a701b108fb626714dd6c62f2 | Bump kotlin-gradle-plugin from 1.4.21-2 to 1.4.30 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 {
repositories {
google()
mavenCentral()
jcenter()
maven("https://plugins.gradle.org/m2/")
}
dependencies {
classpath("com.android.tools.build:gradle:4.1.2... | // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral()
jcenter()
maven("https://plugins.gradle.org/m2/")
}
dependencies {
classpath("com.android.tools.build:gradle:4.1.2... | epl-1.0 | Kotlin |
e53fe667612c44a10db4ca6ea2e03f3ff86fca46 | refactor #605 Rename test function. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | app/src/test/java/jp/toastkid/yobidashi/libs/intent/SettingsIntentFactoryTest.kt | app/src/test/java/jp/toastkid/yobidashi/libs/intent/SettingsIntentFactoryTest.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 |
89cf5f1756532e0eb58b8e867d9dd3aecdca6018 | optimize calls without tail | tmarsteel/kotlin-prolog,tmarsteel/kotlin-prolog | core/src/main/kotlin/com/github/prologdb/runtime/builtin/dynamic/findall_o__3.kt | core/src/main/kotlin/com/github/prologdb/runtime/builtin/dynamic/findall_o__3.kt | package com.github.prologdb.runtime.builtin.dynamic
import com.github.prologdb.async.mapRemaining
import com.github.prologdb.runtime.PrologRuntimeException
import com.github.prologdb.runtime.builtin.prologBuiltin
import com.github.prologdb.runtime.term.Predicate
import com.github.prologdb.runtime.term.PrologList
impor... | package com.github.prologdb.runtime.builtin.dynamic
import com.github.prologdb.async.mapRemaining
import com.github.prologdb.runtime.PrologRuntimeException
import com.github.prologdb.runtime.builtin.prologBuiltin
import com.github.prologdb.runtime.term.Predicate
import com.github.prologdb.runtime.term.PrologList
impor... | mit | Kotlin |
1c40836619c272d7405b67187184ac9aedf66fe6 | Make KDoc prettier | jkcclemens/khttp | src/main/kotlin/khttp/requests/Request.kt | src/main/kotlin/khttp/requests/Request.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/.
*/
package khttp.requests
import khttp.structures.authorization.Authorization
import khttp.structures.files.FileL... | /*
* 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/.
*/
package khttp.requests
import khttp.structures.authorization.Authorization
import khttp.structures.files.FileL... | mpl-2.0 | Kotlin |
789c2a8db1b873fd8373752d3802d197193bc3eb | Fix typo | satamas/fortran-plugin,satamas/fortran-plugin,satamas/fortran-plugin | src/main/java/org/jetbrains/fortran/lang/resolve/ref/FortranFindUsagesProvider.kt | src/main/java/org/jetbrains/fortran/lang/resolve/ref/FortranFindUsagesProvider.kt | package org.jetbrains.fortran.lang.resolve.ref
import com.intellij.lang.cacheBuilder.DefaultWordsScanner
import com.intellij.lang.cacheBuilder.WordsScanner
import com.intellij.lang.findUsages.FindUsagesProvider
import com.intellij.psi.PsiElement
import com.intellij.psi.tree.TokenSet
import org.jetbrains.fortran.lang.l... | package org.jetbrains.fortran.lang.resolve.ref
import com.intellij.lang.cacheBuilder.DefaultWordsScanner
import com.intellij.lang.cacheBuilder.WordsScanner
import com.intellij.lang.findUsages.FindUsagesProvider
import com.intellij.psi.PsiElement
import com.intellij.psi.tree.TokenSet
import org.jetbrains.fortran.lang.l... | apache-2.0 | Kotlin |
2b33638c2ba98c42db274c7ef90c0bcf1a698de9 | refactor #827 Delete useless field. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | article/src/main/java/jp/toastkid/article_viewer/article/detail/subhead/Adapter.kt | article/src/main/java/jp/toastkid/article_viewer/article/detail/subhead/Adapter.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 |
ba89496aa2129030122769a2b6b1709181d7bb4c | Use elvis operators where possible | kvakil/venus,kvakil/venus,kvakil/venus | src/main/kotlin/linker/Linker.kt | src/main/kotlin/linker/Linker.kt | package venus.linker
import venus.riscv.MemorySegments
import venus.riscv.Program
import venus.assembler.AssemblerError
data class RelocationInfo(val label: String, val offset: Int)
object Linker {
fun link(progs: List<Program>): LinkedProgram {
val linkedProgram = LinkedProgram()
val globalTable... | package venus.linker
import venus.riscv.MemorySegments
import venus.riscv.Program
import venus.assembler.AssemblerError
data class RelocationInfo(val label: String, val offset: Int)
object Linker {
fun link(progs: List<Program>): LinkedProgram {
val linkedProgram = LinkedProgram()
val globalTable... | mit | Kotlin |
5da12790bd1253e1120c99c82a88dcf6601bb3f1 | Fix Random.nextBigDecimal | mchernyavsky/kotlincheck | src/main/kotlin/io/kotlincheck/Random.kt | src/main/kotlin/io/kotlincheck/Random.kt | package io.kotlincheck
import java.math.BigDecimal
import java.math.BigInteger
import java.util.Random
import java.util.stream.DoubleStream
import java.util.stream.IntStream
import java.util.stream.LongStream
object Random {
val PRINTABLE_ASCII_ORIGIN = 32
val PRINTABLE_ASCII_BOUND = 127
private val SOUR... | package io.kotlincheck
import java.math.BigDecimal
import java.math.BigInteger
import java.util.Random
import java.util.stream.DoubleStream
import java.util.stream.IntStream
import java.util.stream.LongStream
object Random {
val PRINTABLE_ASCII_ORIGIN = 32
val PRINTABLE_ASCII_BOUND = 127
private val SOUR... | mit | Kotlin |
28dc9a5c0f015e8dc47da720ee5ec69898a10171 | Create NMSManager v1.11_R1 | Homes-MinecraftServerMod/Homes,Homes-MinecraftServerMod/Homes | src/main/kotlin/com/masahirosaito/spigot/homes/nms/v1_11_R1/NMSManager_v1_11_R1.kt | src/main/kotlin/com/masahirosaito/spigot/homes/nms/v1_11_R1/NMSManager_v1_11_R1.kt | package com.masahirosaito.spigot.homes.nms.v1_11_R1
import com.masahirosaito.spigot.homes.nms.NMSManager
import org.bukkit.Location
import org.bukkit.craftbukkit.v1_11_R1.CraftWorld
import org.bukkit.event.entity.CreatureSpawnEvent
class NMSManager_v1_11_R1 : NMSManager {
override fun setUp() {
CustomEnt... | apache-2.0 | Kotlin | |
4fadcb3fb0be5b6f62d8c6e717d00c69eac05e3f | Bump hipparchus-stat from 2.2 to 2.3 (#502) | open-telemetry/opentelemetry-java-contrib,open-telemetry/opentelemetry-java-contrib,open-telemetry/opentelemetry-java-contrib | consistent-sampling/build.gradle.kts | consistent-sampling/build.gradle.kts | plugins {
id("otel.java-conventions")
id("otel.publish-conventions")
}
description = "Sampler and exporter implementations for consistent sampling"
dependencies {
api("io.opentelemetry:opentelemetry-sdk-trace")
testImplementation("org.hipparchus:hipparchus-core:2.2")
testImplementation("org.hipparchus:hippa... | plugins {
id("otel.java-conventions")
id("otel.publish-conventions")
}
description = "Sampler and exporter implementations for consistent sampling"
dependencies {
api("io.opentelemetry:opentelemetry-sdk-trace")
testImplementation("org.hipparchus:hipparchus-core:2.2")
testImplementation("org.hipparchus:hippa... | apache-2.0 | Kotlin |
e08c05b00a1d138151d437110c40993d55c0091a | Remove default unitpixels | kkorolyov/Pancake,kkorolyov/Pancake | javafx-application/src/main/kotlin/dev/kkorolyov/pancake/javafx/render/JavaFxBox.kt | javafx-application/src/main/kotlin/dev/kkorolyov/pancake/javafx/render/JavaFxBox.kt | package dev.kkorolyov.pancake.javafx.render
import dev.kkorolyov.pancake.platform.math.Vector
import dev.kkorolyov.pancake.platform.media.graphic.RenderTransform
import dev.kkorolyov.pancake.platform.media.graphic.shape.Box
/**
* [Box] implemented through JavaFX.
*/
class JavaFxBox(private val unitPixels: Vector, p... | package dev.kkorolyov.pancake.javafx.render
import dev.kkorolyov.pancake.platform.math.Vector
import dev.kkorolyov.pancake.platform.media.graphic.RenderTransform
import dev.kkorolyov.pancake.platform.media.graphic.shape.Box
/**
* [Box] implemented through JavaFX.
*/
class JavaFxBox(private val unitPixels: Vector = ... | bsd-3-clause | Kotlin |
5c3f9c209e4e075f61a2145c4e3499458cc0cb96 | Make sure to close ClassLoader upon test end | robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gra... | provider/src/test/kotlin/org/gradle/kotlin/dsl/provider/ClassLoaderHierarchyTest.kt | provider/src/test/kotlin/org/gradle/kotlin/dsl/provider/ClassLoaderHierarchyTest.kt | package org.gradle.kotlin.dsl.provider
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import com.fasterxml.jackson.module.kotlin.readValue
import com.nhaarman.mockito_kotlin.doReturn
import com.nhaarman.mockito_kotlin.mock
import org.gradle.api.internal.initialization.AbstractClassLoaderScope
import... | package org.gradle.kotlin.dsl.provider
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import com.fasterxml.jackson.module.kotlin.readValue
import com.nhaarman.mockito_kotlin.doReturn
import com.nhaarman.mockito_kotlin.mock
import org.gradle.api.internal.initialization.AbstractClassLoaderScope
import o... | apache-2.0 | Kotlin |
dab5995563c4b8a923ef5e7683e8ad4f38e36f84 | add new course search filters | StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepik-android | app/src/main/java/org/stepik/android/domain/search_result/model/SearchResultQuery.kt | app/src/main/java/org/stepik/android/domain/search_result/model/SearchResultQuery.kt | package org.stepik.android.domain.search_result.model
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
import org.stepik.android.domain.filter.model.CourseListFilterQuery
import ru.nobird.android.core.model.mapOfNotNull
import java.io.Serializable
@Parcelize
data class SearchResultQuery(
val p... | package org.stepik.android.domain.search_result.model
import android.os.Parcelable
import com.google.gson.annotations.SerializedName
import kotlinx.android.parcel.Parcelize
import org.stepik.android.domain.filter.model.CourseListFilterQuery
import ru.nobird.android.core.model.mapOfNotNull
import java.io.Serializable
... | apache-2.0 | Kotlin |
67a6fc8469025f24e1475478b8f5b60f010403a5 | use ModulePointer inside | 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... | plugins/groovy/src/org/jetbrains/plugins/groovy/console/GroovyConsoleStateService.kt | plugins/groovy/src/org/jetbrains/plugins/groovy/console/GroovyConsoleStateService.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 org.jetbrains.plugins.groovy.console
import com.intellij.openapi.components.*
import com.intellij.openapi.module.Module
import com.intellij.openapi.module.ModulePointer
i... | // 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 org.jetbrains.plugins.groovy.console
import com.intellij.openapi.components.*
import com.intellij.openapi.module.Module
import com.intellij.openapi.module.ModuleManager
i... | apache-2.0 | Kotlin |
ff22fb0a71e63aaefdda53fa17156e6728d5ebdf | Improve build script. | jenetics/jpx,jenetics/jpx | buildSrc/build.gradle.kts | buildSrc/build.gradle.kts | /*
* Java GPX Library (@__identifier__@).
* Copyright (c) @__year__@ Franz Wilhelmstötter
*
* 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/LICEN... | /*
* Java GPX Library (@__identifier__@).
* Copyright (c) @__year__@ Franz Wilhelmstötter
*
* 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/LICEN... | apache-2.0 | Kotlin |
c994ead0bbbd6ca48c7411495bafd4e8fc4d76fc | Fix data race in DataClient.dataItemFlow (#594) | google/horologist,google/horologist | datalayer/src/main/java/com/google/android/horologist/data/store/impl/DataItemFlow.kt | datalayer/src/main/java/com/google/android/horologist/data/store/impl/DataItemFlow.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 applic... | /*
* 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 applic... | apache-2.0 | Kotlin |
4c9916de3e7c15b501779c98cbfb8d68f2be6ed5 | Add generic interfaces for a directed graph | MichaelRocks/lightsaber,MichaelRocks/lightsaber | processor/src/main/kotlin/io/michaelrocks/lightsaber/processor/graph/DirectedGraph.kt | processor/src/main/kotlin/io/michaelrocks/lightsaber/processor/graph/DirectedGraph.kt | /*
* Copyright 2016 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 | |
c4520583b75dfedde3f7a611ce6b0ef3b0435b7b | Add human-readable descriptions for steps. | charleskorn/batect,charleskorn/batect,charleskorn/batect,charleskorn/batect,charleskorn/batect | src/main/kotlin/decompose/TaskStep.kt | src/main/kotlin/decompose/TaskStep.kt | package decompose
import decompose.config.Container
import decompose.docker.DockerContainer
import decompose.docker.DockerImage
import decompose.docker.DockerNetwork
sealed class TaskStep {
override fun toString() = this.javaClass.canonicalName
}
object BeginTaskStep : TaskStep()
data class BuildImageStep(val c... | package decompose
import decompose.config.Container
import decompose.docker.DockerContainer
import decompose.docker.DockerImage
import decompose.docker.DockerNetwork
sealed class TaskStep
object BeginTaskStep : TaskStep()
data class BuildImageStep(val container: Container) : TaskStep()
object CreateTaskNetworkStep : ... | apache-2.0 | Kotlin |
e7522dd1f4f4af50f2acb643d714469d1b108ad4 | Work on Go generation | eugeis/ee-elastic | ee-elastic/src/main/kotlin/ee/es/ExportController.kt | ee-elastic/src/main/kotlin/ee/es/ExportController.kt | package ee.es
import ee.es.api.transportClient
import org.elasticsearch.client.Client
import java.nio.file.Paths
open class ExportController(val config: ExportConfig) {
fun export() {
val client = client()
val exporter = Exporter(client)
exporter.export(config.indexes, config.searchSource,... | package ee.es
import org.elasticsearch.client.Client
import org.elasticsearch.common.logging.ESLoggerFactory
import org.elasticsearch.common.transport.InetSocketTransportAddress
import uy.klutter.elasticsearch.esTransportClient
import java.net.InetAddress
import java.nio.file.Paths
import java.util.*
class ExportCont... | apache-2.0 | Kotlin |
7c9b3f78f09a05506b3e073bc5bc602f4e1e6705 | format license header | Esri/arcgis-runtime-samples-android,Esri/arcgis-runtime-samples-android,Esri/arcgis-runtime-samples-android,Esri/arcgis-runtime-samples-android | kotlin/wmts-layer/src/main/java/com/esri/arcgisruntime/sample/wmtslayer/MainActivity.kt | kotlin/wmts-layer/src/main/java/com/esri/arcgisruntime/sample/wmtslayer/MainActivity.kt | /* Copyright 2017 Esri
*
* 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 to in writing,... | /* Copyright 2017 Esri
*
* 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 to in writing,... | apache-2.0 | Kotlin |
ce056ae63edccdbf00108503c5f5102a690f2ca1 | create ExternalInputPlugin | clappr/clappr-android,clappr/clappr-android | clappr/src/main/kotlin/io/clappr/player/plugin/core/externalinput/ExternalInputPlugin.kt | clappr/src/main/kotlin/io/clappr/player/plugin/core/externalinput/ExternalInputPlugin.kt | package io.clappr.player.plugin.core.externalinput
import io.clappr.player.base.NamedType
import io.clappr.player.components.Core
import io.clappr.player.plugin.PluginEntry
import io.clappr.player.plugin.core.CorePlugin
class ExternalInputPlugin(core: Core) : CorePlugin(core, name = name) {
companion object : Nam... | bsd-3-clause | Kotlin | |
da4dfb75327990aef90d8c23bdc9fd735beb51b1 | Throw exception if GIF dimensions are <= 0. (#238) | coil-kt/coil,coil-kt/coil | coil-gif/src/main/java/coil/decode/GifDecoder.kt | coil-gif/src/main/java/coil/decode/GifDecoder.kt | @file:Suppress("DEPRECATION", "unused")
package coil.decode
import android.graphics.Bitmap
import android.graphics.Movie
import android.os.Build.VERSION.SDK_INT
import android.os.Build.VERSION_CODES.JELLY_BEAN_MR2
import android.os.Build.VERSION_CODES.O
import coil.bitmappool.BitmapPool
import coil.drawable.MovieDraw... | @file:Suppress("DEPRECATION", "unused")
package coil.decode
import android.graphics.Bitmap
import android.graphics.Movie
import android.os.Build.VERSION.SDK_INT
import android.os.Build.VERSION_CODES.JELLY_BEAN_MR2
import android.os.Build.VERSION_CODES.O
import coil.bitmappool.BitmapPool
import coil.drawable.MovieDraw... | apache-2.0 | Kotlin |
e98980c7d09a51ec8a392bb9d9b11b3fd3a5898b | Update Kotlin to 1.2.50 (#330) | MaTriXy/gradle-play-publisher-1,MaTriXy/gradle-play-publisher-1,Triple-T/gradle-play-publisher,MaTriXy/gradle-play-publisher-1,Triple-T/gradle-play-publisher,Triple-T/gradle-play-publisher | build.gradle.kts | build.gradle.kts | buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.50")
classpath("com.vanniktech:gradle-maven-publish-plugin:0.2.0")
}
}
plugins {
id("com.github.ben-manes.versions") version "0.17.0"
}
allproj... | buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.41")
classpath("com.vanniktech:gradle-maven-publish-plugin:0.2.0")
}
}
plugins {
id("com.github.ben-manes.versions") version "0.17.0"
}
allproj... | mit | Kotlin |
6f12c7b3c7bbb1a232c54fa70fb53980710ccbd9 | Update Kotlin version from 1.3.61 to 1.4.10. | google/evergreen-checker,google/evergreen-checker | build.gradle.kts | build.gradle.kts | // Copyright 2020 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | // Copyright 2020 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | apache-2.0 | Kotlin |
2453d77b9b64591540494a6f9cb0425ab3061a8d | Add Gradle site plugin to generate plugin information | StefMa/AndroidArtifacts,StefMa/AndroidArtifacts | build.gradle.kts | build.gradle.kts | import guru.stefma.bintrayrelease.PublishExtension
plugins {
kotlin("jvm") version "1.2.50"
id("org.jetbrains.dokka") version "0.9.17"
id("com.github.gradle-guides.site") version "0.1"
id("java-gradle-plugin")
id("java-library")
id("guru.stefma.bintrayrelease") version "1.0.0" apply false
}
a... | import guru.stefma.bintrayrelease.PublishExtension
plugins {
kotlin("jvm") version "1.2.50"
id("org.jetbrains.dokka") version "0.9.17"
id("java-gradle-plugin")
id("java-library")
id("guru.stefma.bintrayrelease") version "1.0.0" apply false
}
apply(plugin = "guru.stefma.bintrayrelease")
repositor... | apache-2.0 | Kotlin |
59a3a10b28b99952fa3f9722fd4d1e3cfd6b9226 | Upgrade dependencies. | ihmcrobotics/ihmc-build,ihmcrobotics/ihmc-build | build.gradle.kts | build.gradle.kts | import com.gradle.publish.PluginConfig
import org.jetbrains.kotlin.serialization.js.DynamicTypeDeserializer.id
plugins {
`java-gradle-plugin`
`kotlin-dsl`
`maven-publish`
id("com.gradle.plugin-publish") version "0.10.0"
}
group = "us.ihmc"
version = "0.15.1"
pluginBundle {
website = "https://github.co... | import com.gradle.publish.PluginConfig
import org.jetbrains.kotlin.serialization.js.DynamicTypeDeserializer.id
plugins {
`java-gradle-plugin`
`kotlin-dsl`
`maven-publish`
id("com.gradle.plugin-publish") version "0.10.0"
}
group = "us.ihmc"
version = "0.15.1"
pluginBundle {
website = "https://github.co... | apache-2.0 | Kotlin |
0fae9d10dfcdead59ba4850e15d7b88ebb8ef808 | create basedirs | DevCharly/kotlin-ant-dsl,DevCharly/kotlin-ant-dsl | examples/src/demo.kt | examples/src/demo.kt | import com.devcharly.kotlin.ant.*
import java.io.File
fun main(args: Array<String>) {
// make basedirs used below
File("_files_").mkdirs()
File("_fileset_").mkdirs()
File("_zip_").mkdirs()
demoEcho()
demoProperty()
demoFiles()
demoFileset()
demoZip()
demoTar()
demoJar()
}
fun demoEcho() {
Ant {
echo("H... | import com.devcharly.kotlin.ant.*
fun main(args: Array<String>) {
demoEcho()
demoProperty()
demoFiles()
demoFileset()
demoZip()
demoTar()
demoJar()
}
fun demoEcho() {
Ant {
echo("Hello World")
echo {
+"aa"
+"bb"
+"cc"
}
echo(level = EchoLevel.ERROR) {
+"""
111
22
3
"""
}
... | apache-2.0 | Kotlin |
000e2e83a760a0453dcdcc61b8dc3b0c24adcdf7 | Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v1.6.21 | ACRA/acra,ACRA/acra,ACRA/acra,ACRA/acra | examples/build.gradle.kts | examples/build.gradle.kts | /*
* Copyright (c) 2021
*
* 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 to in writi... | /*
* Copyright (c) 2021
*
* 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 to in writi... | apache-2.0 | Kotlin |
02de2782b3314f78bcabab2cb57d7bedffe23ac0 | Add extensions to quickly add "Ok" and "Cancel" buttons to a dialog | jguerinet/android-utils,jguerinet/android-utils,jguerinet/Suitcase,jguerinet/Suitcase | dialog/src/main/java/MaterialDialogExt.kt | dialog/src/main/java/MaterialDialogExt.kt | /*
* Copyright 2016-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... | apache-2.0 | Kotlin | |
9f6802c9e2d4df673078facae98b9c4a7dc42e18 | Use --release flag to specify Java version 8 | gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpira... | subprojects/base-services/build.gradle.kts | subprojects/base-services/build.gradle.kts | plugins {
id("gradlebuild.distribution.api-java")
id("gradlebuild.jmh")
}
description = "A set of generic services and utilities."
gradlebuildJava.usedInWorkers()
/**
* Use Java 8 compatibility for Unit tests, so we can test Java 8 features as well
*/
tasks.named<JavaCompile>("compileTestJava") {
optio... | plugins {
id("gradlebuild.distribution.api-java")
id("gradlebuild.jmh")
}
description = "A set of generic services and utilities."
gradlebuildJava.usedInWorkers()
/**
* Use Java 8 compatibility for Unit tests, so we can test Java 8 features as well
*/
tasks.named<JavaCompile>("compileTestJava") {
optio... | apache-2.0 | Kotlin |
efd8fe95c543da40f66cf0c925bd94628bdc878e | Update Main.kt | SJ1337/Th-Bingen | src/main/kotlin/FinalProject/Main.kt | src/main/kotlin/FinalProject/Main.kt | package FinalProject
import com.univocity.parsers.csv.CsvParser
import com.univocity.parsers.csv.CsvParserSettings
import com.univocity.parsers.common.record.Record
import com.univocity.parsers.csv.CsvWriter
import com.univocity.parsers.csv.CsvWriterSettings
/* the scenario function creates a dozen cars, puts... | package FinalProject
import com.univocity.parsers.csv.CsvParser
import com.univocity.parsers.csv.CsvParserSettings
import com.univocity.parsers.common.record.Record
import com.univocity.parsers.csv.CsvWriter
import com.univocity.parsers.csv.CsvWriterSettings
/* the scenario function creates a dozen cars, puts... | mit | Kotlin |
018674cd150e9445d2f3a458612139fcfbb4350e | Fix build | eugeis/ee,eugeis/ee | ee-common_java/src/main/kotlin/ee/common/Empty.kt | ee-common_java/src/main/kotlin/ee/common/Empty.kt | package ee.common
| apache-2.0 | Kotlin | |
110fb1a0de3be5008d168da7479039be57169884 | Add ReceiveChannel<E>.consumeEachAndCancelPrevious | LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties | sample/src/main/java/com/louiscad/splittiessample/extensions/coroutines/Channels.kt | sample/src/main/java/com/louiscad/splittiessample/extensions/coroutines/Channels.kt | /*
* Copyright (c) 2018. Louis Cognault Ayeva Derman
*
* 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 ... | /*
* Copyright (c) 2018. Louis Cognault Ayeva Derman
*
* 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 ... | apache-2.0 | Kotlin |
f0fde78f5b947ba72f4b76e4aa884b0224785482 | allow userId to be null | GlobalTechnology/android-gto-support,CruGlobal/android-gto-support,CruGlobal/android-gto-support | gto-support-api-base/src/main/kotlin/org/ccci/gto/android/common/api/UserIdSession.kt | gto-support-api-base/src/main/kotlin/org/ccci/gto/android/common/api/UserIdSession.kt | package org.ccci.gto.android.common.api
import android.content.SharedPreferences
class UserIdSession private constructor(
prefs: SharedPreferences?,
val userId: String?,
sessionId: String?,
baseAttrName: String
) : Session(prefs = prefs, id = sessionId, baseAttrName = baseAttrName + userId?.let { "|$i... | package org.ccci.gto.android.common.api
import android.content.SharedPreferences
class UserIdSession private constructor(
prefs: SharedPreferences?,
val userId: String,
sessionId: String?,
baseAttrName: String
) : Session(prefs = prefs, id = sessionId, baseAttrName = "$baseAttrName|$userId") {
@Jv... | mit | Kotlin |
2488155755432328b43d20452a718524017a6815 | Improve safety of enum introspection | proxer/ProxerLibJava | library/src/main/kotlin/me/proxer/library/internal/adapter/UcpSettingConstraintAdapter.kt | library/src/main/kotlin/me/proxer/library/internal/adapter/UcpSettingConstraintAdapter.kt | package me.proxer.library.internal.adapter
import com.squareup.moshi.FromJson
import com.squareup.moshi.ToJson
import me.proxer.library.enums.UcpSettingConstraint
import me.proxer.library.util.ProxerUtils
/**
* @author Ruben Gees
*/
internal class UcpSettingConstraintAdapter {
private val nameToValue: Map<Int,... | package me.proxer.library.internal.adapter
import com.squareup.moshi.FromJson
import com.squareup.moshi.Json
import com.squareup.moshi.ToJson
import me.proxer.library.enums.UcpSettingConstraint
import java.lang.reflect.Field
/**
* @author Ruben Gees
*/
internal class UcpSettingConstraintAdapter {
private val n... | mit | Kotlin |
dcb03354715dc1b0f4da759f337edc9e412e83b4 | Remove the nullable type from parse(). | cbeust/klaxon,cbeust/klaxon,cbeust/klaxon | klaxon/src/main/kotlin/com/beust/klaxon/Parser.kt | klaxon/src/main/kotlin/com/beust/klaxon/Parser.kt | package com.beust.klaxon
import java.io.File
import java.io.FileInputStream
import java.io.InputStream
import java.io.Reader
import java.nio.charset.Charset
interface Parser {
/**
* Parse the json from a raw string contained in the [StringBuilder].
* @return a JsonObject or JsonArray
*/
fun pa... | package com.beust.klaxon
import java.io.File
import java.io.FileInputStream
import java.io.InputStream
import java.io.Reader
import java.nio.charset.Charset
interface Parser {
/**
* Parse the json from a raw string contained in the [StringBuilder].
*/
fun parse(rawValue: StringBuilder): Any?
/... | apache-2.0 | Kotlin |
149539f797acd55ed9dfbd70064d90c69c0f9210 | Add SuppressLint for ParcelCreator on LoginDeepLinkInfo | RocketChat/Rocket.Chat.Android,RocketChat/Rocket.Chat.Android.Lily,RocketChat/Rocket.Chat.Android,RocketChat/Rocket.Chat.Android.Lily | app/src/main/java/chat/rocket/android/authentication/domain/model/LoginDeepLinkInfo.kt | app/src/main/java/chat/rocket/android/authentication/domain/model/LoginDeepLinkInfo.kt | package chat.rocket.android.authentication.domain.model
import android.annotation.SuppressLint
import android.content.Intent
import android.net.Uri
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
import timber.log.Timber
@SuppressLint("ParcelCreator")
@Parcelize
data class LoginDeepLinkInfo(
... | package chat.rocket.android.authentication.domain.model
import android.content.Intent
import android.net.Uri
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
import timber.log.Timber
@Parcelize
data class LoginDeepLinkInfo(
val url: String,
val userId: String,
val token: String
) : Par... | mit | Kotlin |
ea3a418f84f3731e92658cedfa11878a8828500c | fix writer scope type | Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines | core/kotlinx-coroutines-io/src/main/kotlin/kotlinx/coroutines/experimental/io/WriterJob.kt | core/kotlinx-coroutines-io/src/main/kotlin/kotlinx/coroutines/experimental/io/WriterJob.kt | package kotlinx.coroutines.experimental.io
import kotlinx.coroutines.experimental.CoroutineScope
import kotlinx.coroutines.experimental.Job
import kotlinx.coroutines.experimental.newCoroutineContext
import kotlin.coroutines.experimental.CoroutineContext
import kotlin.coroutines.experimental.startCoroutine
/**
* A co... | package kotlinx.coroutines.experimental.io
import kotlinx.coroutines.experimental.CoroutineScope
import kotlinx.coroutines.experimental.Job
import kotlinx.coroutines.experimental.newCoroutineContext
import kotlin.coroutines.experimental.CoroutineContext
import kotlin.coroutines.experimental.startCoroutine
/**
* A co... | apache-2.0 | Kotlin |
159da92be05da027c54fed7976552dd8038841dd | Update version. | metaborg/spoofax-deploy,metaborg/spoofax-deploy,metaborg/spoofax-deploy | gradle/build.gradle.kts | gradle/build.gradle.kts | plugins {
id("org.metaborg.gradle.config.root-project") version "0.3.21"
id("org.metaborg.gitonium") version "0.1.3"
// Set versions for plugins to use, only applying them in subprojects (apply false here).
id("org.metaborg.spoofax.gradle.langspec") version "0.4.2" apply false
id("de.set.ecj") version "1.4.1... | plugins {
id("org.metaborg.gradle.config.root-project") version "0.3.21"
id("org.metaborg.gitonium") version "0.1.3"
// Set versions for plugins to use, only applying them in subprojects (apply false here).
id("org.metaborg.spoofax.gradle.langspec") version "0.4.2" apply false
id("de.set.ecj") version "1.4.1... | apache-2.0 | Kotlin |
9b398104a4e9bf5b515f1f606f427365623107d1 | Update error message to give a hint that an AdoptOpenJdk JDK is required by the build. | gradle/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gra... | buildSrc/settings.gradle.kts | buildSrc/settings.gradle.kts | /*
* Copyright 2016 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 2016 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 |
cecfee0ac22db51534bc7cbeb75097c731cba7f9 | Use routing as a feature | ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor | ktor-features/ktor-components/src/org/jetbrains/ktor/components/ComponentApplication.kt | ktor-features/ktor-components/src/org/jetbrains/ktor/components/ComponentApplication.kt | package org.jetbrains.ktor.components
import org.jetbrains.ktor.application.*
import org.jetbrains.ktor.features.*
import org.jetbrains.ktor.routing.*
import kotlin.system.*
public open class ComponentApplication(config: ApplicationConfig) : Application(config) {
val container = StorageComponentContainer("Applica... | package org.jetbrains.ktor.components
import org.jetbrains.ktor.application.*
import org.jetbrains.ktor.routing.*
import kotlin.system.*
public open class ComponentApplication(config: ApplicationConfig) : Application(config) {
val container = StorageComponentContainer("Application")
val routing = Routing()
... | apache-2.0 | Kotlin |
91e716bae7ed4f51d3dd03abbf3658d9698cad58 | Add MultimodalAutoencoder | KotlinNLP/SimpleDNN | src/main/kotlin/com/kotlinnlp/simplednn/deeplearning/multiview/MultimodalAutoencoder.kt | src/main/kotlin/com/kotlinnlp/simplednn/deeplearning/multiview/MultimodalAutoencoder.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 | |
504caa0f4443a57421a0eea9fae12b2995dd1060 | Remove unused "toNetworkHttpStatus" extension function. | EventFahrplan/EventFahrplan,EventFahrplan/EventFahrplan | app/src/main/java/nerd/tuxmobil/fahrplan/congress/dataconverters/HttpStatusExtensions.kt | app/src/main/java/nerd/tuxmobil/fahrplan/congress/dataconverters/HttpStatusExtensions.kt | package nerd.tuxmobil.fahrplan.congress.dataconverters
import info.metadude.android.eventfahrplan.network.fetching.HttpStatus as NetworkHttpStatus
import nerd.tuxmobil.fahrplan.congress.net.HttpStatus as AppHttpStatus
fun NetworkHttpStatus.toAppHttpStatus() = when (this) {
NetworkHttpStatus.HTTP_OK -> AppHttpStat... | package nerd.tuxmobil.fahrplan.congress.dataconverters
import info.metadude.android.eventfahrplan.network.fetching.HttpStatus as NetworkHttpStatus
import nerd.tuxmobil.fahrplan.congress.net.HttpStatus as AppHttpStatus
fun NetworkHttpStatus.toAppHttpStatus() = when (this) {
NetworkHttpStatus.HTTP_OK -> AppHttpStat... | apache-2.0 | Kotlin |
9fcfafb6ea5994ad38203c9d335a3f2f27cc5ed5 | bump selenide from 6.6.2 to 6.6.6 (via #791) | 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.6.6"
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.6.2"
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 |
cc8306b3c8437c4a698628d660ec161f920c857b | Update to Android-Components 97.0.20211217143153. | 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 = "97.0.20211217143153"
}
| /* 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 = "97.0.20211216190144"
}
| mpl-2.0 | Kotlin |
b6a394ff4222e41a097ee462fc09d1deb94cfa70 | Update to Android-Components 100.0.20220313143340. | 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.20220313143340"
}
| /* 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.20220312190111"
}
| mpl-2.0 | Kotlin |
63bbca117e5f82b9fd3e0a16028fae54360d2563 | Update to Android-Components 109.0.20221123143300. | 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 = "109.0.20221123143300"
}
| /* 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 = "109.0.20221122143037"
}
| mpl-2.0 | Kotlin |
1dddb201d6d58b4eaf01bede287801ec151cf11d | Update to Android-Components 101.0.20220418143243. | 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.20220418143243"
}
| /* 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.20220417190159"
}
| mpl-2.0 | Kotlin |
ccf67561b06b2f9d8ebcff60c6ab298ac2a7d423 | Fix Javadoc task so that Jitpack's Gradle is happy | Zhuinden/simple-stack,Zhuinden/simple-stack | simple-stack/build.gradle.kts | simple-stack/build.gradle.kts | plugins {
id("com.android.library")
id("maven-publish")
}
android {
compileSdk = 31
defaultConfig {
minSdk = 9
targetSdk = 31
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
getByName("release") {
isMinifyEnabled... | plugins {
id("com.android.library")
id("maven-publish")
}
android {
compileSdk = 31
defaultConfig {
minSdk = 9
targetSdk = 31
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
getByName("release") {
isMinifyEnabled... | apache-2.0 | Kotlin |
58f778cbc2d7501e7266175ad9521667273ac6d3 | Fix variance labels | google/ksp,google/ksp,google/ksp | libraries/tools/kotlin-symbol-processing-api/src/org/jetbrains/kotlin/ksp/symbol/Variance.kt | libraries/tools/kotlin-symbol-processing-api/src/org/jetbrains/kotlin/ksp/symbol/Variance.kt | /*
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.ksp.symbol
/**
* Represents both declaration-site and use-site variance.
* STA... | /*
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.ksp.symbol
/**
* Represents both declaration-site and use-site variance.
* STA... | apache-2.0 | Kotlin |
401e18d67330271733a997d45bfc1b1cf7c366b2 | Make ktlint happy | gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpira... | subprojects/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/DeepThought.kt | subprojects/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/DeepThought.kt | package org.gradle.kotlin.dsl.fixtures
class DeepThought {
fun compute() = 42
}
class ZeroThought {
fun compute() = 0
}
class LightThought {
fun compute() = 23
}
| package org.gradle.kotlin.dsl.fixtures
class DeepThought {
fun compute() = 42
}
class ZeroThought {
fun compute() = 0
}
class LightThought {
fun compute() = 23
}
| apache-2.0 | Kotlin |
16c44304c4f417a8e7be91e7008a01a00313fccd | Fix that #1 was marked as unescaped when it appeared inside a command (e.g. \textbf{.}) in a command definition | Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA | src/nl/hannahsten/texifyidea/inspections/latex/LatexEscapeHashOutsideCommandInspection.kt | src/nl/hannahsten/texifyidea/inspections/latex/LatexEscapeHashOutsideCommandInspection.kt | package nl.hannahsten.texifyidea.inspections.latex
import com.intellij.psi.PsiElement
import nl.hannahsten.texifyidea.inspections.TexifyRegexInspection
import nl.hannahsten.texifyidea.psi.LatexCommands
import nl.hannahsten.texifyidea.util.isCommandDefinition
import nl.hannahsten.texifyidea.util.parentsOfType
import ja... | package nl.hannahsten.texifyidea.inspections.latex
import com.intellij.psi.PsiElement
import nl.hannahsten.texifyidea.inspections.TexifyRegexInspection
import nl.hannahsten.texifyidea.psi.LatexCommands
import nl.hannahsten.texifyidea.util.firstParentOfType
import nl.hannahsten.texifyidea.util.isCommandDefinition
impor... | mit | Kotlin |
a4194cb67278b9f8458cd2b559ed4dd7d555ffdc | Update to Android-Components 108.0.20221031143305. | 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.20221031143305"
}
| /* 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.20221031113629"
}
| mpl-2.0 | Kotlin |
3701d5a3340ab6d0fc244672f88dab0fb13b22a5 | Improve formatting of RxBoxImp | diffplug/durian-rx,diffplug/durian-rx | src/main/java/com/diffplug/common/rx/RxBoxImp.kt | src/main/java/com/diffplug/common/rx/RxBoxImp.kt | /*
* Copyright 2020 DiffPlug
*
* 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 in... | /*
* Copyright 2020 DiffPlug
*
* 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 in... | apache-2.0 | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.